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.192.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4c97248a22cdae91d85035f11998995b8ce60cdf80ea85999ce4725f3dd2afd |
|
MD5 | 8ec341eeca8813efd8d4173af39c441e |
|
BLAKE2b-256 | 2182f34e35b4e5dd7e9e5cd4a761c7a3d60a1e0237f2818805ee785d394b9107 |
Close
Hashes for cdk_lambda_layer_curl-1.0.192-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81cdcb0c55948168432cd2ee93f296eb001f9f2116d7f3d6454a0eaa4159f847 |
|
MD5 | 24bd5fb6db4322d8533a3043558403c3 |
|
BLAKE2b-256 | 25167765a657b684e1561f022fe9ce20c8ff32d0880acadd63614045e4d4a870 |