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-1.0.751.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99ff8c32ee847d1f6d4c8639da75848d2cb7084ea776bdcab3d53039cc0ec0a3 |
|
MD5 | a88637acdafa176a5a060666cd48cb75 |
|
BLAKE2b-256 | 74bbbfc1511390dcf1330f4af0c7b3101c86fc3c5a9ac1e93a70f0c0fe80d737 |
Close
Hashes for cdk_lambda_layer_curl-1.0.751-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad4bded0737ff5810ff1c46d2dece4ac8ae9ce75c0e33c09ad6547322d9ee351 |
|
MD5 | b57d69aecc1ff2fc9f03deda4526a200 |
|
BLAKE2b-256 | 0776f3762f14631c119952e8c0e454fb6f5673128f2221c320233717b2287fdd |