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.583.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bda8fbe0154769c2a4fdf9814b81b4303fa5dd71b5575e26004d7b363499ba2d |
|
MD5 | 250ac8b6229d14d0081a261be3d150a8 |
|
BLAKE2b-256 | e3972ac1a137a4b39a7a947562d7e24d7011385ca41a74b6709064366af4f003 |
Close
Hashes for cdk_lambda_layer_curl-1.0.583-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd462be0ac31c55b4ac1fc421a6935061487297b311998b73f96ce15ae05330b |
|
MD5 | 056e7270a4877b3625e6cf6b94d5eb7d |
|
BLAKE2b-256 | e1e90982bb727000c3687ec89a27907da85fa8da914ec792d17f585e3046e738 |