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.696.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0de383863204ecf613fb9f2919eecec48f81f312bce206e7048b325a5b877ee |
|
MD5 | 0dcfb0e3e0d3ffc6b4d2bf33a1f57554 |
|
BLAKE2b-256 | 9ef1814984e71d11ad1e96bbbd5a25cb015f7312f26c5f081d15242b9a0b1913 |
Close
Hashes for cdk_lambda_layer_curl-2.0.696-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fcf4b5f9cd5d1092429524ddc0c3885bf4682350bd741368cb15ced7bbfecebc |
|
MD5 | 47e34195eea6b9e378751947d1bf553a |
|
BLAKE2b-256 | ab3296b8acfab37df128d549005f076beb1eaca3d1274825e26c6af186964079 |