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.727.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9313bed2f7cc7bbd36bdbb5a11ae1a608462d7177cd4918e6c31fce8e6234a04 |
|
MD5 | 591635ade5196f0a47da382aca955ecc |
|
BLAKE2b-256 | b9665ae83a30acb6ca229d002085f22b21a82826cf5600f1fb042ee6b5ace284 |
Close
Hashes for cdk_lambda_layer_curl-1.0.727-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcaab145c7fd401584706a9f9a9f8fabfaa44676dadbc335861c04885fb643a2 |
|
MD5 | fc2d8b798a61daf91fb0f15c5cca6562 |
|
BLAKE2b-256 | 5faeac5f26235e1b40c6be30635ba03c08b5e6d9f229e382f928732c1ea1ab39 |