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.647.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e48868af16bd4f2cdc591b175e3a276c8ab2eb4c9f70055179f5db4be91e9e6 |
|
MD5 | 7cf87ca60a683326576c9620fd65af8c |
|
BLAKE2b-256 | 3454bef7ab4b4fa629d52b203bbc964ef302ddf4ea58605c5f0666df209da6a6 |
Close
Hashes for cdk_lambda_layer_curl-2.0.647-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fdf9874813068f2c401d128bbaa2f1e5f6385269582386cbbce2b44266bdc1f |
|
MD5 | 62238712633965186de512b8b5297cb5 |
|
BLAKE2b-256 | 93805819e395c78cb28ff0ad48e407b13245d7398cb1dff8a943c0ac3dbf8e0f |