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.384.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4fb82a3ed5636d6f43781436778b460b63da140a60011fee7dc019a836911ddb |
|
MD5 | 59edec4504891447082eba8036401407 |
|
BLAKE2b-256 | 0b2605143058067cf3e5d247c8f1c43c9dbd8c024df3afe27a0bcdad2e976ff2 |
Close
Hashes for cdk_lambda_layer_curl-2.0.384-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb96a3b1cf439ab517c82e7813f76844e0fcbb4e215a560257df59a56470b197 |
|
MD5 | d3ac9f4e2ec8c185db5adb23e516876b |
|
BLAKE2b-256 | 64df2866733586fed07ec6678fb215b39d5b736f8976ec79cde29f55e7ff1bd8 |