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.228.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8df142367f9d1372572c4218eecf27c910ae32b8e83504d19bb16c398d09268 |
|
MD5 | 05b4280f47df8421e663b4043f5d0c50 |
|
BLAKE2b-256 | 324c29b2d2990ccbeae87b82fb701a4e27473cd9b2c60717ea4862fda64f685a |
Close
Hashes for cdk_lambda_layer_curl-1.0.228-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe4befa4c7cfb31c2caa34d4cf8040d6b49e2bfa0b53e45cc7d3eb83928da4ee |
|
MD5 | f00851c1483fa70d1732ebdcf9ee0615 |
|
BLAKE2b-256 | 45df3c0c226fc0d5f60a7b3708ee1154bd32dc7f2a22adb582c357ef17d5029d |