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.466.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f84b06cbb8de36e86db5c3347ea6ac743ec70059fe285858d776bd6fe0b9df81 |
|
MD5 | 6d43d0fb4a9cd82d4cf529db68e602e4 |
|
BLAKE2b-256 | 4c1d7ba6b61347b214528c418aa1c2fdaea7433c2feacf52b67abd4363f47023 |
Close
Hashes for cdk_lambda_layer_curl-1.0.466-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 882cd141a7f44cf2079695ea44b3de2a8ef3b032de89cf3e41dd41ccddbbe354 |
|
MD5 | 5702f4cd98da5d4e94e6a9d615dcd0a3 |
|
BLAKE2b-256 | 2c15ea50ea7e9beb215b1fce33618aeb2a3ecdebec38b8ad76014137817812fa |