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.344.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6856217236a9673849e0678d51e0228668c78c6e08c25305cf92ce334f560b34 |
|
MD5 | 74793a2c102110c7ba7f3ba873b2ce88 |
|
BLAKE2b-256 | 7d1086c99f2eaeabc99c620b3596739edc734bb1856ca7f33a74f3d3fce28bc7 |
Close
Hashes for cdk_lambda_layer_curl-1.0.344-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 659366e942458b13671084f8ce2e145289b7d69944cb73996c405137c6ed244b |
|
MD5 | 83970788a4b1469793cd21e5238ea63d |
|
BLAKE2b-256 | 1e67feb3c3b1737ad872171684b2f5f8be0b68ba463e2daab2d02c9a2381b533 |