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.761.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d94520442dcfdcd26ca4ffecb0f859b7239c147024784dbb4b30a0d96b4a454a |
|
MD5 | a53d004cbe6adebea5db212963669230 |
|
BLAKE2b-256 | 04d3de461f2ecbaed8faaf4ef8ea2fbbbb924a768da8f51d793fbab2a2038945 |
Close
Hashes for cdk_lambda_layer_curl-2.0.761-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 913bd7bb44b91566ef099d424e58773316d437d9814c14992bb11eba9398d87f |
|
MD5 | 14d5a35046326b394ccecf3278f32229 |
|
BLAKE2b-256 | 1f3d52289684f008b805492363ef979647358c67aebc923a0dfece134d9f2265 |