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.107.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d994901f614cf3d01e195b477ab54909d35fa4b7af06023d1db5a656f15b65d8 |
|
MD5 | f2af331ece0d96de17b8a381dfd5af52 |
|
BLAKE2b-256 | 4acf26a69cbb8154280a31518a1eb4dc13c8a7124f57f9d7afda2adc0319091e |
Close
Hashes for cdk_lambda_layer_curl-2.0.107-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1180ec6a086f2949a03315071a37718a55a3daa323c5f1de3969a340ca213ca |
|
MD5 | e2c16ccf77b371b27eb97f2b0715a4a3 |
|
BLAKE2b-256 | 48a8ae58be25a957322bdb18b0fd6eb9dd880f12089a49adc71b65faf0766c71 |