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.46.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46a9342b8b5f32a0aae3c24218ef3ef54593331c3ca3e9e1f20060e5b558a9c1 |
|
MD5 | 2cd51e0afa9e1b61f3dda60e15b9a5c4 |
|
BLAKE2b-256 | 1b8488b6f4b86c473e8fa5c55ea7646d907133d043c5406aeed1977027efd912 |
Close
Hashes for cdk_lambda_layer_curl-1.0.46-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e50f4e36e3620d7abd54f7f9ddedd3597087d91411b92dbcd07cb615a8c69670 |
|
MD5 | 639c4f6804c5b4f75dc4ea8b3db3c124 |
|
BLAKE2b-256 | a015939e34c65ace16bb6e70ea2842e603f9a174cf6331e81c311cb8b6fd76a1 |