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.397.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fedbc0811cb9a2a645476fb4e5ffd56735f527088369288088552b65fc904ae |
|
MD5 | 0bebef07157cb350d9654c73137db8dc |
|
BLAKE2b-256 | 455c63bb9b921064ed4808c4ae886d1579baf92ebfaa7f885f9348d3cb81051f |
Close
Hashes for cdk_lambda_layer_curl-2.0.397-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67d2b7c823cdbf554f9cfd5292f37f15b40b8cd4f23322ae033da4c568c00237 |
|
MD5 | 4ec8aa08e158f91e5d474210127e9798 |
|
BLAKE2b-256 | 3205a643716512f345d605a014e47cc0287807dbef64608ebaea29096ef21d21 |