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.518.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d98d3696f644f27a6c59b11472b1bfcf17b892bc3d772e021df661145df0aae |
|
MD5 | 1c688e64af8d463b3b527fdf87007b00 |
|
BLAKE2b-256 | b3d70ac956001e62a14b14d3c434b9283b4e8a337cc7316e1c9b7ed0e0f1a28e |
Close
Hashes for cdk_lambda_layer_curl-2.0.518-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 816213bff9f7c0289256d838ce97b599873cf262bc65bdb15593e7a8ff23d9d3 |
|
MD5 | a61177fb6519425e0b2883259ffa1337 |
|
BLAKE2b-256 | 998f868896da037e816a086c39a9ae55313dd46c4ad0df1a60b02b4a59fe40d3 |