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.121.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e27ae1b3e2609c9f75a66cc0a2f506c8d5ef693864ad78a22733bbbd82ed337 |
|
MD5 | 62483fc35174ca04c95e5ec839cbd9ff |
|
BLAKE2b-256 | f46b73a46543b6b9d72c1d550a91d2854f308367f55d88c11d61893fc677f033 |
Close
Hashes for cdk_lambda_layer_curl-1.0.121-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d49a07b198cc805d630b6797ae3d3c8898b1ff5df87bc427bad1a7e1ae6f5188 |
|
MD5 | 97d8e52c3af9bfd5a029f14329aff2b9 |
|
BLAKE2b-256 | 3592bb1b94ca64db76e6e5fe46586be6441c1f7a70b8804bbd6ac56229227993 |