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.232.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c754401f470a27939a32b068bdb0b5914bcf2f40b35f5cac5e82fccce75e63a |
|
MD5 | 738f4503026bc765218b22422e25efdb |
|
BLAKE2b-256 | c8361c803a5a9d4c3679692a7fdf72102f27c2e17d5a1c383a04d3e791c3fa71 |
Close
Hashes for cdk_lambda_layer_curl-2.0.232-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58287ef1a7f6b91c127a95c920b7ad4e6a2f83aca8ef4a91b7e4097df6e6eadf |
|
MD5 | 9420dda3f4db262e6857e6240a13ee05 |
|
BLAKE2b-256 | bb305b56c41d63ac9353ccd0a53f6b8192e4eb23510082597425c19287c523ad |