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.637.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2e74cc4bd37e3be0fcea19d957b3039a06f23ae6dacda8a6702c8ef8581fea3 |
|
MD5 | 3727394ac3ec3f79e049f7340d16aa41 |
|
BLAKE2b-256 | 53aa691fcace7cfe428c6c67f4819ec3e372330ea886985e842f3d43786493a4 |
Close
Hashes for cdk_lambda_layer_curl-1.0.637-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d00f7dad181e3521dfbc9cf2daa2263a4e56cba101ecdd38465951ac524046d |
|
MD5 | b95b7fc7768ff0e9c7dca6a79e94fa5a |
|
BLAKE2b-256 | c6221c1a862291bb6ddd0543789c09b3ddb95859e479447e1bb25a2357a9210d |