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.186.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7cf827441ed1fa5217ffbfea0d54814c24da3a8d02712ab9420d556e67e02c84 |
|
MD5 | 73b10e874263a8a13275566fbecc51ce |
|
BLAKE2b-256 | 0086c672ec8cd3cfd427e4943195e2c033124ab6c4368933ca0ece9996eb68d6 |
Close
Hashes for cdk_lambda_layer_curl-2.0.186-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c614298469553350da9bda3e69097a98e657d1efe155fc5b4208cb5dad820d68 |
|
MD5 | a554ebeaa10b466f0b92bd93cdf4aca7 |
|
BLAKE2b-256 | f38281109eef4ae91c912303e3385f50e7d653a07064ad0c6c5d1498d835ad0c |