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.136.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d92da367891e6b092dbfb90ac05b5f822f6d5c567bd0f86fbafc042e0730ce71 |
|
MD5 | d831fd4bb19e6dee5221db3708eb77c4 |
|
BLAKE2b-256 | a673f15b297a7787005c78fb3f48a959b60b885bf80d8793117a3a92278f97cc |
Close
Hashes for cdk_lambda_layer_curl-1.0.136-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50a764599c9ee6634a40c1218e333c95104bde2dc456618682414c51e8112bc7 |
|
MD5 | b7448b6329d5f143e400057fc5b55992 |
|
BLAKE2b-256 | 856440e3b76c579149fbd86682d8d407a6ab7e28f2349862b412d511efeca3b6 |