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.110.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2eb112d742e32e3a5aeca3d7b4d6c83b02ab3c840da635f048b59306e77854de |
|
MD5 | aee4c4ceaa318b4a69dc972c5bd817f3 |
|
BLAKE2b-256 | e50c6d4e67066925930df6623efc95ad868df8099d364a5f50e07c03a337d765 |
Close
Hashes for cdk_lambda_layer_curl-2.0.110-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba19580b61139612e329f9414014d02966fd9a608317a3cb36a20e1e352303d9 |
|
MD5 | 6d9e0eb02fab92c562e98a2eab0fc8b5 |
|
BLAKE2b-256 | 59835b37e4a2fbebace1b3c922e27ecc5db23295d5828f0c880d3727e72fec0f |