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-1.0.242.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d6e8ca99d48d04c2a8f258f1ba9e91641c2f600985577ff0f9e1ce840f0eb23 |
|
MD5 | e04069ec362271d4c64caf6cc61bbd90 |
|
BLAKE2b-256 | ec93772ff8df9ed14a9427161e8daafe2e8eb37393c26de5cafd0fc06b301507 |
Close
Hashes for cdk_lambda_layer_curl-1.0.242-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b362fd6eaf2f8be6b58b014c2b2c60916181e890e5c15421c53cc2870c2ccb9f |
|
MD5 | c5a2e8c7be13a75da43af5daa135d7b3 |
|
BLAKE2b-256 | 9f3706e7a9e8dade8e1cad211330b304a071b902bef3593f90854a93ec0690cf |