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.206.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c24d714d7d5e58e367a4f8dc9a2e192b3299c98a65da2021eebec5f8782377d |
|
MD5 | e434ca0e1bf4b62d0c7e59b3617783b6 |
|
BLAKE2b-256 | 78400605adc67fba9e5741bf04ad62277e6819d8fb311559038c86e4ef9ea7fa |
Close
Hashes for cdk_lambda_layer_curl-2.0.206-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 111f1b0724e2ce0f3866c3c4903ca9276acae109d5402acf162fe85485d2fcd4 |
|
MD5 | ed22456eecae90c86b761629b75092af |
|
BLAKE2b-256 | 1f9eeb3e6ce4cd8303d6e0907a7e2262fbeaf251c7a21b0d857e27571572d02d |