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.684.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7d7851dd4affb541abae21d38ebca7ba9dd758f48a183ca7f24954183beb1bd |
|
MD5 | eb84f96cf3da87b504d69a4872fa5aad |
|
BLAKE2b-256 | e1da16a02a6ca84ae5945b63c29ee14069076d5f96a17b57336c81efa5324fb9 |
Close
Hashes for cdk_lambda_layer_curl-2.0.684-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07c78fff804bca5969fbb5c3fecc40964f0e145f52873789d83ae6399ae261a2 |
|
MD5 | be8cfd0d3ec040c8daea65545afd9089 |
|
BLAKE2b-256 | 3ff1882d89614c80f0b70bca538791a875a594e3877961e128a0e6d75456000c |