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.127.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbfebd0d9586e0ec8f233e62ce1cc12be8087172b73191d1d1f954597f359e92 |
|
MD5 | 319de378c206c8be4cc9a7bcbc0d83c9 |
|
BLAKE2b-256 | f8f937bf0e0d3e88d58217dba42ed17fe3fb6ea66a131804c62a7b91ff58ec9c |
Close
Hashes for cdk_lambda_layer_curl-2.0.127-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d55d32a0c9383af10bd13c17709e0f21dd895820ad50b2af150fa7cc6150f0be |
|
MD5 | 9ba02746b9254ff60b4486139ebb7b2f |
|
BLAKE2b-256 | dff13894d95c4dd861a723aedcf78982d9b84bb39f8fb0d57ad7e69aa16e8c97 |