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.479.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72f541b35686fc8fb5adbfa54317b25c595bb42b6f5593da895a057d373d1deb |
|
MD5 | 5c4d54671fbf7eb3629bb6c545896360 |
|
BLAKE2b-256 | 1f14b167a495412442a41143c35b5be8e08c1495bbf912dbd69b859226b6d7e0 |
Close
Hashes for cdk_lambda_layer_curl-2.0.479-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 539c15c7d8852833cfd702246a434a0cd722ebe5f23c2ca108ad832c767af52e |
|
MD5 | 29b4e7f2e2fe1c5a27af1b60cb57f10b |
|
BLAKE2b-256 | 2099a18b852929375a187fea6ccf6c4db2daf65aff05447e2a6d4d3642d7bd56 |