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.768.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 568d59457709b4798559473344ac72565c8eb9588338aa2fa1f33b0174f80d03 |
|
MD5 | 39dbb84491d4b0fd4c260f5e20b74a55 |
|
BLAKE2b-256 | 1051a81bac57567c925bfef7d151cf36c8ea92f266a8be5396d9ff908342e91e |
Close
Hashes for cdk_lambda_layer_curl-2.0.768-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81a97bb4b8934a43ef3438ef0a54eda8a915eec6afe3da1b31ef46d3b166e4aa |
|
MD5 | 0320e93b825b3ad1fb2653f2b28161d0 |
|
BLAKE2b-256 | 76804d449898395e121694c199e9645948b2d6c8b13a3eeb01a354109d3fcf0d |