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.28.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9435cb245c042339f5a68c1ec802697238cd6d3d01e470ba88962237f16fb803 |
|
MD5 | e52428ab8432d7c8a290e48c58538a4e |
|
BLAKE2b-256 | 214690796d20c8ba38cafcf0bf4f09faa31094effb7d6d08d86b8a1bd8ae313c |
Close
Hashes for cdk_lambda_layer_curl-2.0.28-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8aa8baf2ee5d01da8de8dd25831ce89e57e8a3a9ab136ccc08028792bea897ca |
|
MD5 | bb1f2892e8e1ace5a9f94324aeb41b2c |
|
BLAKE2b-256 | 57172092301bbe1730608abcdf76cede45b8cdbfc6d489b96c8cc4deee766580 |