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.415.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9aab0dbce89d10c2a69816bbb304260e24360fa5483bc32726609fbd0778b955 |
|
MD5 | 06bba4f21c9968518037ef6bcdcdc939 |
|
BLAKE2b-256 | 7ce5b0bfcade5635f20e5c41ac9ec021f883dccd5996609a6a164b1f492ba1fa |
Close
Hashes for cdk_lambda_layer_curl-2.0.415-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37332ec22176a3222345a8e89ba88b04a00b5b5291bb50a9e970c098d2aa65e5 |
|
MD5 | c8f91063ce4dbffdc02546407840d858 |
|
BLAKE2b-256 | 67a422fd863c9719e8f025b338017f6f4b79adaccc9d28ea599acef9599adb80 |