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.471.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 784814feed0339eb5450f76c7fa7335d2e4433d2315b99c651fea6d1905cfe42 |
|
MD5 | ab96328a767bb167e4f9c9b402233910 |
|
BLAKE2b-256 | df570026e074f8bad46f400f74b0138b347a010971b078b76f0afc7bbd2af701 |
Close
Hashes for cdk_lambda_layer_curl-2.0.471-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec0f13b397c567d164016acdf707f247467533be1c17af5e2910e063e5ee3a9c |
|
MD5 | 478b67915ecbf7579ad7ec1279993ad0 |
|
BLAKE2b-256 | af580d25dfcf512577bc2c730a65658fb903781decd1e39a71c03de471c11991 |