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.755.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbd34daf657c4def6c82f929ed3c37f6b3522a66016b56c3484ea45c8bb70740 |
|
MD5 | 66b067c0880da902c3c4eedb3dca6c95 |
|
BLAKE2b-256 | 6515b30bd78d48cdc96c39398d86677c6dad2c675d8762c80cdb41145b7c7120 |
Close
Hashes for cdk_lambda_layer_curl-2.0.755-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d28b1bc30b23b0b9aa68f0e5ef1107516062964f769176b6b876628de3e1e623 |
|
MD5 | 2a05361c867dfc15c0da33c913c79ae2 |
|
BLAKE2b-256 | 259ed29cd44f5877d224d61ddc56d413bf2fd28197cab8b01aca45679d670b8e |