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.826.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cee1bdb158f6f2f4eac3764fa0b36e9158041186e4a8cf89987e5b79bfc256e9 |
|
MD5 | e59d84e8e2bd56055b9ac44a2405a604 |
|
BLAKE2b-256 | b1dc68f3c34e4487bcfea2b5db7800d1970ecf438c752d29f75112d1d0b3334e |
Close
Hashes for cdk_lambda_layer_curl-1.0.826-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 183da2fa884ef5811eefce964450b5abb822808be2511a7fa4e2be62e57851cc |
|
MD5 | 42ad8016ed74b883eee38e48f7e40225 |
|
BLAKE2b-256 | 75a8cabbb1081e641582603289e2fb8e3a8f6f92185d9a48efb7f182e84fcf9e |