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.530.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20b14e05081d7782b95e406a96d55248b3ead8430be52d824d9770312fe5076c |
|
MD5 | a2204a3e913d23e5cac5b432818b187c |
|
BLAKE2b-256 | 2c6ab79cfce48cad9b09d4f38c087fa30ce7d817c69f48f424f21fbd536419ea |
Close
Hashes for cdk_lambda_layer_curl-2.0.530-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8667860c53bcadc4214307552c9b0f6cf1508b9cf1d3296f7068463b8d8a1a37 |
|
MD5 | 4bbba38d382c80599b2ecaffc36e6e20 |
|
BLAKE2b-256 | 2bebb26a467e84ef344a2f13efef3e657551b288fe9a79443b78d2da914e1931 |