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.435.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e746cee1ceed669b4dfaa0614979ed0534807bcbfd90de8791d2792478696e23 |
|
MD5 | 161fc29424e0685865b9415431890e20 |
|
BLAKE2b-256 | da271a83e6ec05c1c5c1b1107fa6d7629238c3e553215fc39d50baeb4df34243 |
Close
Hashes for cdk_lambda_layer_curl-2.0.435-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c140627c0ca12ec063c1623aa9b0d30c8986f2d980b03024d4d0b9476a7601f |
|
MD5 | add8e2fde9b48186623dd4e94bef98dc |
|
BLAKE2b-256 | d9d40a0f83693fa4af86fb6f4b5f50639ad952afe3ab63b752b28581ec7cdbb9 |