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.395.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e476a471c9f8c64496583568f3ca2ff1f327950b93f51a459893f000ccc5421e |
|
MD5 | ff57f9be7ba1333dfa8180bea455b9e1 |
|
BLAKE2b-256 | bcd02ae37bcb41bec2b290376cd2978f2ba639844d8f28facb8f3a488f98300e |
Close
Hashes for cdk_lambda_layer_curl-1.0.395-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30e9ec112a54c600f607300d130dc621345e191d2523b75cfbe7fa9ca651c619 |
|
MD5 | 63967b19bd35d8e4f739d59822af559f |
|
BLAKE2b-256 | 05ffca31d6db34b8c0cee1babdb722dae6a02a9890cdbc831b86fa253a12045e |