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.61.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1db8226848fe4131edcbbcae38d972f9fc1e68f6bc18abf3beccb390035f7afa |
|
MD5 | 4654dd1486513af5575c1336ad4d7481 |
|
BLAKE2b-256 | 729d6425169b550e883de63e0de821ffb79d34d77a17be07e1f6c68ce4cd8732 |
Close
Hashes for cdk_lambda_layer_curl-2.0.61-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb09e289ab93beb6a29d5ae319935002e1f4cffcc8b5bf993e2cc39e8780e46f |
|
MD5 | bb364e056ce39347043d5a2c72598a4f |
|
BLAKE2b-256 | 1e4b56b4978450dbbe977275adc6630b21cdffbb21f0df6605e67b0f5044673d |