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.680.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01d07f91ed8775265d8512250d47cd9038287c1c43a86fe61fade76a6f679be7 |
|
MD5 | 0a95dec8c5a244e883aa6b5f090de856 |
|
BLAKE2b-256 | 74c7bdda49a6187bfd03e1c786e299bb1ac42ba6072028ff362a8a5571256936 |
Close
Hashes for cdk_lambda_layer_curl-1.0.680-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebbe6c31e119f005e1f8493bb8404eeec130652f0d0e98fb13f0c7591758b0cc |
|
MD5 | 25c4616a11c5c93995bee05f0c012265 |
|
BLAKE2b-256 | 24e05c29fdf9236e88b5ec49c5119acceabe1590ffc259761213283838256331 |