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.622.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e143261e24d22d543bbe9d4cc737d271eb2dbea50d14ead2e513f18dcd28a75 |
|
MD5 | 098b8abb2087da262d17e167a3200c8f |
|
BLAKE2b-256 | 683c718bc45d10f1215fa4701a732032ab20366011d70e31efcd80e1bcce9a66 |
Close
Hashes for cdk_lambda_layer_curl-2.0.622-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 800b9a0324777a06060708b2728319c288b4a60bcc9fbb5e3f8f4591afb4dc21 |
|
MD5 | 8663014c64f708f15698b34c7399d4d3 |
|
BLAKE2b-256 | 3a944bed9e7c70b5b780addce887c4c44e77341f3decb33107918ff39ac5c6d9 |