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.55.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ade4501e8a347230ef5114f8ed52bc79466e473e3af0bb65d8b4391bf8c193b1 |
|
MD5 | 46b0396f742f82864707569a73ee246b |
|
BLAKE2b-256 | b65be725173b3eed120212e935f9774e716fa445f9c35b576fdf6657b98bc8ad |
Close
Hashes for cdk_lambda_layer_curl-2.0.55-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f9dbe250d1ec69d0f1993d1aa88ceb9386d446f42c27b0e5333e06cdc4f01fe |
|
MD5 | e8c7b1bc6ad440bbd8faf92c4318bb2d |
|
BLAKE2b-256 | 86a1f0d7a39dc8100fe12659969dcae5df1dc45f7c2fe6204685ea0915fe6d96 |