For lambda layer use curl
Project description
AWS Lambda Layer with curl
Usage:
// CurlLayer bundles the curl in a lambda layer
import { CurlLayer } from 'cdk-lambda-layer-curl';
declare const fn: lambda.Function;
fn.addLayers(new CurlLayer(this, 'CurlLayer'));
import { CurlLayer } from 'cdk-lambda-layer-curl'
import * as lambda from 'aws-cdk-lib/aws-lambda'
new lambda.Function(this, 'MyLambda', {
code: lambda.Code.fromAsset(path.join(__dirname, 'my-lambda-handler')),
handler: 'index.main',
runtime: lambda.Runtime.PYTHON_3_9,
layers: [new CurlLayer(this, 'CurlLayer')]
});
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for cdk-lambda-layer-curl-1.0.180.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3766baaaff53d020a10e5171d6fcf271f69b46157d164854a3774d1ce058daa7 |
|
MD5 | 50f417eb1eb309fe0290750a89dcda34 |
|
BLAKE2b-256 | b5b7d7e8a3327ea7dd848ba746f31ec80fe64bdca794eb57f17bc698384ac846 |
Close
Hashes for cdk_lambda_layer_curl-1.0.180-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ed5373a55278b6649758769d1e62aeb5fea5af348731fe0f36a0e8370d2b4c0 |
|
MD5 | f64b9521427d06a9437429faef7f964c |
|
BLAKE2b-256 | c810651a41a8092683352b18d2079ea824539ff144d3db8c11bb81cc921e0126 |