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.243.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4581348a362cb9e6be244c1351e634765ff833be4f149a1872479364ce870b7 |
|
MD5 | 95518e933960f65f3e19d22272c393b1 |
|
BLAKE2b-256 | 7ec2c912c5b4441adbceb392df912a3fd8bcea83558646b4833649e2c8f48c9a |
Close
Hashes for cdk_lambda_layer_curl-1.0.243-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa33a5bd007b6f641705015268da9ab9c92447cf8211d77be70bcd67256dac8c |
|
MD5 | 3a52f58ac0b6120585b999b8c0ef20e6 |
|
BLAKE2b-256 | 7c5b634d7fa7810e7d83deb115cb50d299dc34d18a37bb8da717649bfbab7b31 |