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.667.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3becdffe59f0cbc88b2925a729f6e5014f9223afd5139fe061d7131ab3c0f885 |
|
MD5 | a06f98163b2a7d88b2856dd8e647bc32 |
|
BLAKE2b-256 | e86c755bbdf64891170d67e10d74d6c29fd153f64402d750bc552a08c3cf8cbc |
Close
Hashes for cdk_lambda_layer_curl-1.0.667-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 535a8e69cf43c2e462df51645bbd4e2a997e6c0b58f1351a2b025ff67ff9b8d1 |
|
MD5 | 845ddcb69b20dcb4846852430c2ea369 |
|
BLAKE2b-256 | 8a222f4937bc9b7b160d1d31097a24ec84d80e1faf5eef544c6c5e9d21d1bad8 |