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.332.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74a819864c2f5969ffa44720356206f82e4e87a1262905e73632e25126042713 |
|
MD5 | 638fcb99c71c77d927618a96a3b20207 |
|
BLAKE2b-256 | c5a8e0670a544b88ce00046f5072adc45700ff2073e64bc3abfc8180eef7b14d |
Close
Hashes for cdk_lambda_layer_curl-2.0.332-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 468b276c293d2d8f1243ef24dccec9e4f4e653593acc93839ac415b1092717a1 |
|
MD5 | db039d26b392cae3691b6fc2da2b98cc |
|
BLAKE2b-256 | d237a26fdce86868fa5c62704c6d2881d97b587e9eaf7af800029e205f416e50 |