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.14.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2079d77d6520794a22bea57a4c1b9bc487e9079044d613253843982f66064be8 |
|
MD5 | e3a74747b55ae3db3f60bd79ba3cc20b |
|
BLAKE2b-256 | 7adcdb90a3c683c6ece958333a3d0a91778b4534645d51639b1d1135a781414a |
Close
Hashes for cdk_lambda_layer_curl-1.0.14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c25ebd19fd8560f003e2342afb2dc9c75b96300afd404b6c24231a78748be420 |
|
MD5 | a46f255f4397c86049e2a99f08a2c405 |
|
BLAKE2b-256 | e0201e242afe739b053b9a69a60fa89b71065862340ec12c7d01ad24a0a1c7f0 |