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.489.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c3010d22c35988cc849348f70a631c7ba57596f41a9ea31cb2ae397b50b602e |
|
MD5 | c4e89fd1c6e0f15aae9f6bbd047f6a4b |
|
BLAKE2b-256 | 9052a2a52774e89d0379149d3f7f82a07381bf4e8a6537bb76e999e3aa2c4619 |
Close
Hashes for cdk_lambda_layer_curl-2.0.489-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4da302125db6f3bc4045175ef1d7a292bd30fe102712941e5735ef33ffa7dcd6 |
|
MD5 | 4ac76904513462c73594680dd6cbf396 |
|
BLAKE2b-256 | f4f481d0c0fee89bdf5a9cfeed90f220dd6d900aba952b508f87fd2cd2dcec8e |