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.77.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9367c92f0dd70de5f40dd5a466913086e28c2009f08d21c81ec02dd88f102ac |
|
MD5 | 8d0b28ce302a4badc662c335efdd48f4 |
|
BLAKE2b-256 | 43d49a54fac988538b32fc84d6f39a0b106bca0d23dc2b473f33998675966830 |
Close
Hashes for cdk_lambda_layer_curl-2.0.77-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b71f49e2e9ac33ac32fc2a17f3e38b399534a1c714636f1baa898c47db4ed0e |
|
MD5 | 8ee613ba1877189d128db1196f8e8281 |
|
BLAKE2b-256 | a99ca0a8cd31bf013b63d065a7d030d841355339fe9d215af62d7bc5cc9e2028 |