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.665.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fdf215a96f36ee7c05cac4497981a1d200848504bc657a9bc89adcb348b52ba |
|
MD5 | c31cea9f1fef822cc2215b9460b1bd32 |
|
BLAKE2b-256 | 175c1e0096e5279487f13318426726ef3952745a69034d4c31d1fd849ad8aa57 |
Close
Hashes for cdk_lambda_layer_curl-2.0.665-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a3740a19873366303b69ab4f5412d8f0d24e24f877e45d2378a02a903df7e9e |
|
MD5 | 3232fdb03ceab4cba2dbea2889e8c262 |
|
BLAKE2b-256 | 94895d863210bd80d7c0528c4266af5723ba50ddbdeba5bbb2d183ceabf3735b |