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.303.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce35aa6237f330deb6b608498f14e1596f9bca09fc17ea60ae82148d3d69dde2 |
|
MD5 | eee5ea855f146e8add313c0f128903f5 |
|
BLAKE2b-256 | 3f8ac33d35d019781c40f9040804d7ef33738c7fa00cda12158aefd06fcf118f |
Close
Hashes for cdk_lambda_layer_curl-2.0.303-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc2b8c8ff8d69ce1d335958d2e38d144689a22cb3bcfc5b4a8f0fbf87b8c7358 |
|
MD5 | 7c956551c8eb5ebc7c29f78f99c94bec |
|
BLAKE2b-256 | a82c3aa8e30d1f7a00ccd428f7f8f4840f3fc9f907d4fe87fa3b73b11753d8c1 |