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.665.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e4180cc06823e53b361986651fc2ca95a7d5617b0e3f147423c866e9e646ae6 |
|
MD5 | e918570f2223729fea6a807bff661851 |
|
BLAKE2b-256 | 723d4cf4689419be8447fb7bc730baae03589754f5dba37c2820463238b52aaa |
Close
Hashes for cdk_lambda_layer_curl-1.0.665-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 447a761ad7e1bfcaae6487e4c395646743f3be69cf935a95a44521b3def12b8f |
|
MD5 | 9869c71f38cba2cac4a7cfda6da51a99 |
|
BLAKE2b-256 | bec043c8fd724515309afffb247437f39661654b0fafc6e317cbeee52bdf62f6 |