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-2.0.446.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a6219dc5e3aacbc6a7c0321ca1f6cddd4542bf5c5da19712bf76bc3cacc40dc |
|
MD5 | 491c887da5a9de8ad13db43f49b865df |
|
BLAKE2b-256 | f5233bd6ca170a05cc061fef98fccc2b29d3b27b3559a4efbfe55a4b22f5aad7 |
Close
Hashes for cdk_lambda_layer_curl-2.0.446-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c05686aeda3db5a36439fe760317e0ff317f98397f9e9fb70e44ffc4c44e689 |
|
MD5 | f0d01af423b61b0b8b1de06c9bd600fd |
|
BLAKE2b-256 | ef06e5f96820248845d789a1450b221a2dafff501e7d409f26c2a565f995afbb |