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.360.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67a2280f27396c7b4423128c7cabe32c6b0d829fb7c4ea4a69b602ff24a7bfc7 |
|
MD5 | 319d19153410620a9c777f68c78ca467 |
|
BLAKE2b-256 | 9d03a69a1aac8e3ccbcc26eb09225d679e4d1f4b164056a9e61051f1d64b51c2 |
Close
Hashes for cdk_lambda_layer_curl-1.0.360-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df795f30f1f6f7e3653d25ee41cb69559ec32d5747a433ad35c1c102f7f39ca4 |
|
MD5 | ae321ef2cf75216fd7b41afa2f6ca0eb |
|
BLAKE2b-256 | 24c5bbb1d7aa898c28dfc9acbff3ca0cce90ae402179804f85120d1be2ddb738 |