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.177.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 794f86aa4983546177d2a51b0b07f4e58a284b17755ee1448d74a13cf338bfeb |
|
MD5 | 0726a9ab26fda927a3b17ae142fb3504 |
|
BLAKE2b-256 | 377a1d570c99913978e8fca6cc684df6b400851664cad440fd8923da415e30d4 |
Close
Hashes for cdk_lambda_layer_curl-2.0.177-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84c65dae808a9447d91bb7e24aa371020f3e5d014bb93cc7eb732eded85c63fd |
|
MD5 | 2091ae694bd32c2a1f758e8669fc2b76 |
|
BLAKE2b-256 | af1147690e67b668f1b2afcd103ab1dcd2a4fb58a446272e4d060b06985d4ad6 |