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.706.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eaa9b98f776d4fc4f7bfa8ad1048be61df5217a775116f39014946bf0be9581a |
|
MD5 | 690395f718a58c5ea01d82900bc93a05 |
|
BLAKE2b-256 | e2f1d99cc0593e0ddb0b55c6436d15b1d64e7e425368092a84c40ebc9ffc37d0 |
Close
Hashes for cdk_lambda_layer_curl-2.0.706-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 994c552a0877c7982c1128f1ef4a289d520ae3d21e2c1b5bf159e34e9d69785e |
|
MD5 | 85c3664323ac106d840caebfa34259d0 |
|
BLAKE2b-256 | 26e0974fea84bc8aefea6acef398ed1bc392d41e6d290c11d7623d89e4112f16 |