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.500.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cf055b811b8e2213bcb252d35d31377071cd17c087b02eef95cfeb9941138f0 |
|
MD5 | cb89c2bf7afa9f43adcc99eb49ea614b |
|
BLAKE2b-256 | ead18ec390166c48b5b8f8a32c6ed5d15dadc7e3c705c2643e31ee7edf3061d3 |
Close
Hashes for cdk_lambda_layer_curl-1.0.500-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee3b609e97cfa1fdec4fe462bc480bb874564ccd9916de224adea4972259f487 |
|
MD5 | c4b394612407cd73bca5e84e5cc1b8b0 |
|
BLAKE2b-256 | 3cd2215dece066a014e6350b037ff1ded0b3b1508eb25685c334d156ed505458 |