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.60.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06b4ec8fae654d0ddc775fe3b6a65b0fed1f3735b42d7d383fbcc38a55132de1 |
|
MD5 | 6e39f241e0258f5584eed4c9b8854de8 |
|
BLAKE2b-256 | f02aa8eb7fbe821b486088d8f65cbcc62a318d6c6b274f762a4539563a7959f7 |
Close
Hashes for cdk_lambda_layer_curl-2.0.60-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 841f14cde59c5c1137f37b29889fddc3ecf5d000f87fa7a548883eb33a6d2078 |
|
MD5 | af62ed185ad13125cc25911bb495aad0 |
|
BLAKE2b-256 | f7f5a8a2e6a65f0d2dba2b6816ed0b839f2408358a285d01c7201af36d3ae277 |