For lambda layer use curl
Project description
AWS Lambda Layer with curl
Usage:
# Example automatically generated from non-compiling source. May contain errors.
// 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'));
# Example automatically generated from non-compiling source. May contain errors.
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.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00e7cf8fb574b50675a7e75ec817977247c60165baf0804a773117eb167b63f6 |
|
MD5 | ac1ab73f34ea6f839035b66c5e055fb9 |
|
BLAKE2b-256 | edbcae6f189c1b97929116bde7f8c30fec693e454217176712ec2c81f3d2be32 |
Close
Hashes for cdk_lambda_layer_curl-2.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0dc1287e7fcb40ff86b5de7afb2daac311f7a25678ee02e5ee1af01cbcad59be |
|
MD5 | 49a82673faf2ed05c5d47f1f1b28776c |
|
BLAKE2b-256 | 5811601f97795ea7754fffb243d2cf223794304d6d97c7f0cc080261f6feced5 |