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.719.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e55d26d75a375d7a772ea3630536a7fe90450e2558cc971e0c90959ef6d4921e |
|
MD5 | e6bb468e24a526cdf6fe638c3a446bc9 |
|
BLAKE2b-256 | ca0c19242e7aaeaadac2772783f4e4473942cf9da42aed1db8de1fe5d80e5223 |
Close
Hashes for cdk_lambda_layer_curl-2.0.719-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0e389e913bca6d3c4c155e56d795aa681955a1dee757f2ba4c9618631f67459 |
|
MD5 | b3242b15b663f43a68da78ab75a77bc7 |
|
BLAKE2b-256 | 0a4347d67a4995596c6d0756dda59ee4f8544d439bd6beb0c8c07bf3cd7fb9fe |