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.400.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6ded9aec195d1843c5a92fe94c02b8cfba01272fcd44b49aefa2580844d425e |
|
MD5 | 036e3d1017bd5a719729f9cb525a76f2 |
|
BLAKE2b-256 | 5513370a026781beaf8343f47e3d4457940f4b89171664f6be9249db542c6ebe |
Close
Hashes for cdk_lambda_layer_curl-2.0.400-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d042a43eea715f9bee2b2bd8fc3bb04e9cc25f4de417e2d2393b969f60772339 |
|
MD5 | 8da3b08a90e036c1c601497262d0810d |
|
BLAKE2b-256 | bce35083b43fd779ba11880e33311dc63a95cad2ef8c14833e1e3ff7ea397955 |