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.619.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee66e6bec958bb95e9a1a93d8c7b0626f46b5d899b2f1db17fa3e257b1bb4937 |
|
MD5 | b0e6085d4a967f992f63b806c23485b9 |
|
BLAKE2b-256 | 077af74b5edc13c30d2dd3e3b48ac36feb3e250f86c1a414e8ee6e68644262e7 |
Close
Hashes for cdk_lambda_layer_curl-2.0.619-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 845105db906b640a0671b2212c42175f3692145243e70a84924bd2639dbd0d45 |
|
MD5 | 000590943c59c42cd167f762a2486751 |
|
BLAKE2b-256 | 98a92c6c8a9320ac03909e40a0e250d89284eb09cc46b70a9bfa06be6bc12530 |