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.253.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a49be525e681b22e4934fa142604acf59be303edf789b157556adca2b56f94dd |
|
MD5 | 390a9bbf81e19647bb7a60e3aa694edd |
|
BLAKE2b-256 | 36d8727d42f3905a0ad301a889f39ff863d8b3bb2c63cccfca08fbdaf9e4701a |
Close
Hashes for cdk_lambda_layer_curl-2.0.253-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d9a3bb62eb65dbb1eb1271cae091fc3f0535ef8b82c453513d749d609c874b3 |
|
MD5 | 127796876f738bd99204130143d443a9 |
|
BLAKE2b-256 | 20def2dfcd53d312d5f5ea8acc015134698fe2031ecbd2642b339f1360572e13 |