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.340.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05b40ed0ebafd958abae25d01e090b5b2f5dc2ac4ea317ff8436d082d6171ad5 |
|
MD5 | a48398f22b97598b79dbd262043ac851 |
|
BLAKE2b-256 | b30cbfcfa237637e513ef8f94c36b21b737cf7d66398f1698ec4bddb62e2996c |
Close
Hashes for cdk_lambda_layer_curl-1.0.340-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c532b9ea5b5e6866df757023447350cd746581691a17ddb9ec5161a0758378ba |
|
MD5 | bb3b9bb1e20a4390a822aca575b413ad |
|
BLAKE2b-256 | 323ec575953c2cedc641eb380717c3b0be9f3e1d9d32bb2d2fd7ef0ba57bb2b8 |