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.398.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73508d19098aef7cc555662afba55d5abbcd623c6fd6d4602d90440e89510f2d |
|
MD5 | 8440ad52947247f6259ca69c8b56ca66 |
|
BLAKE2b-256 | 312ad17039900c4ef13c1ae6d360e6fb5a814a4cba36ef2e9d60b8dc9a0c7598 |
Close
Hashes for cdk_lambda_layer_curl-1.0.398-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8510a51054c681c535e6674b50beece03ca45bbdb21c17644e1de95713bcec5 |
|
MD5 | 91eb9b31cfd01babf49f63e8473e694f |
|
BLAKE2b-256 | ab70e1ff94c38dbb420f7cdf935946b89c4433ea8a7e4e67ca7f9a83826f2c12 |