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.520.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b35b0318c7d6b82bb4f27177b79c55dc1146d3b9f1af285a2dfbe915144084d5 |
|
MD5 | e963ef8316c70d5ed0691ef016071245 |
|
BLAKE2b-256 | 42cd00601f16719cb6c954dfbc8b913e606b6df628796f5f490dc65693191266 |
Close
Hashes for cdk_lambda_layer_curl-2.0.520-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09796faf9d12d364ef6f0f1a9733d8c116091135cb56fd59c33a85481025bf83 |
|
MD5 | d550a8173668622fef1c6ecc7d157170 |
|
BLAKE2b-256 | 26e7b4e1af996ccc4d4ac286929cef77277f52ea477111c07fa68ef50b158191 |