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.610.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26a53ab0099ab8d51780362e058e38b7999875e9d0f06e2fba3bf84dc4ffafa9 |
|
MD5 | 448579db6c77872681c956e57b9217da |
|
BLAKE2b-256 | d514bd7f37d9016767bdd16787ad9f07e411c117ca07beb4375d0cf61ce76e6d |
Close
Hashes for cdk_lambda_layer_curl-1.0.610-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 896e105a8766ad39a550520a9e5513da2070afd1c919cd31b6ce1f83a1a0f54a |
|
MD5 | 5247c46e028dffc8d2418bd49c940f02 |
|
BLAKE2b-256 | 7cdd5dca77415ca799c6c3466ea8f89433ad7e4b865fbb7b552f939fbfb7c1bf |