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-1.0.213.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6332c608017087167c4f14428a9eec129c7b71dbfbe4ede4002ecfedcffb0f4 |
|
MD5 | 9333f9cf613066fd19ba7cd41a621e5e |
|
BLAKE2b-256 | 6b67b3f4120a68a24f74af595cdfc07ca05665c0ce46d35cfef2b6df5982064f |
Close
Hashes for cdk_lambda_layer_curl-1.0.213-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8398ebbe01570cf7628ae5725d78a4b8ab2bbefae1731a198d66fad21f3fbf9 |
|
MD5 | c117019556179a521eb1088e4856619f |
|
BLAKE2b-256 | 2db0f190cc1f8cb1159d5d8e949364836afb80132859eb45b92a92beb1f5acd3 |