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.532.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ae61447faabd7d9272a81ae1af19da465a1c99eafd4634d93b9068ec8e53227 |
|
MD5 | e1047c886f9f7c283966edfb1c396c31 |
|
BLAKE2b-256 | 0d67249f21b8836a556f1872fb918786b0d58697904a5c2a23e53707e8b30b8e |
Close
Hashes for cdk_lambda_layer_curl-1.0.532-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddd228d52624ba7b73f4cd5a7da6e08f24a6ac29e2f340bebe6b6f7950c008f2 |
|
MD5 | 8b0096e9b8f050acb4ec8ee2df508582 |
|
BLAKE2b-256 | 025df71c426005087eed91207f67dd1bf387c2e83393b32efb891ce25bb62d9b |