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.551.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f52878610aa039127c64c07bf3368884b6d7284e05e720a8cc382c100b99ae44 |
|
MD5 | cf2418c90d4499d3949b9ff3266c6c7c |
|
BLAKE2b-256 | 66bf76581308f8154febbf2e29ea7ccef9dab4edc0761f7e0b0503dc1387b865 |
Close
Hashes for cdk_lambda_layer_curl-1.0.551-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10aa137e2523e74a672b179ee807f483dc1bc3b889747d34fc205c598025eb07 |
|
MD5 | dca93e599308fd609932e4caa252df39 |
|
BLAKE2b-256 | 38a085593c6f63006e631991876751293f43e35341036f3316ddf3a56121a87e |