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.761.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | df0bf16a67fd90fb43b943ec740df55a3a036262a04b4038bd6041e589f753c3 |
|
MD5 | 62aa0e33b85ed0cf712b9d00a9fa1e29 |
|
BLAKE2b-256 | e2b24fed41598fd0b51dedad231868e2479bc561fab7f51abc4df401f991182d |
Close
Hashes for cdk_lambda_layer_curl-1.0.761-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 010c0da3e79e94275b30dfc03c02c95a30e2493ef02b6953a7779c4f7ccd7e8e |
|
MD5 | 5a61f16bfc0b1286ce4d58aee1b85bc3 |
|
BLAKE2b-256 | 83cf81133e76d299a8d277e60d04df8940b26d04989405b79dd3a28b024b8100 |