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.126.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc205df41ac86e53e4d41d07ba75261603534c1db21677d89331f27986a6433c |
|
MD5 | 942296695aa375db2da14883dfcb6d1e |
|
BLAKE2b-256 | 061bdac8fb59829dbd10adce07e9fd8e81faaca8ad53d856f46b6d3232f1a0b7 |
Close
Hashes for cdk_lambda_layer_curl-2.0.126-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7aee4e861ca6c40b90fb7f84cf30396f7961b7330cb4cc4a2890579b3553056c |
|
MD5 | d7c753f661603138eae790b3c4787336 |
|
BLAKE2b-256 | 19af33fe00ff1bd7f2eb25fa5a44a6b363cad34ac8f9ed700276471daff35bf2 |