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.476.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 149973bc859d8940dcb649395e824d453d3abfe0d5e4081af6ded844e36653b7 |
|
MD5 | 66a05402033f3d2896ab00c7c07efd98 |
|
BLAKE2b-256 | 510937d90f099af2d474efbb9bace46ded74b8fe721b6223be8725f95d2b40a1 |
Close
Hashes for cdk_lambda_layer_curl-1.0.476-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a01869024270310329de9b528097d16c6045af02adb6dcf6e3d4e68584e871dc |
|
MD5 | 7294d3ced8b7d0fa162f0726c1730eeb |
|
BLAKE2b-256 | 6e49eebf1c9ae0d3bb3bf24c9193b3e192c8171fec54080c80bc50ad6ab8dc0a |