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.551.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e67cf0def8554efddbc662dacebeb75a0cb8b8a7414279fa6214618080cf9d5f |
|
MD5 | e30c32d4857eb03ea70409df2e07499e |
|
BLAKE2b-256 | 003a8999a9ffd9c5e3e6c1e8407267ec8cba4031612cc2e64aa8555dc97ab6ca |
Close
Hashes for cdk_lambda_layer_curl-2.0.551-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d87d147fae6755ca5f774cfad065d95769e811e0ca4ab68725aa7c77db70273 |
|
MD5 | 517cb6fbfe917df49cf54b83350da988 |
|
BLAKE2b-256 | b08c068a6385894e753262dd5163e69f1831f95bfab6376a6fc8013e1b1b252b |