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.20.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 730306217405f94a000e5afbcefb6478f17f0a745c4d3a1fe99e92976adad864 |
|
MD5 | fc7df63577231060529d1e7571eb418a |
|
BLAKE2b-256 | 1aaaccb0a41ac0151fae422e7691ac21bcc6f841b9a0282a3d9c16f7dcc465bb |
Close
Hashes for cdk_lambda_layer_curl-1.0.20-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a18148cd916f198e25ce1110527843afb6a10fc7f8cfb655e19b10384880a04 |
|
MD5 | c2f2755e2af8adc8a5ce58013aaf242b |
|
BLAKE2b-256 | 3c9cf6e34f2c0775b5ffe9c9045188d266895724e4f70d4da601638b6d3bfcaf |