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.26.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 798749c7b76b0d049e2ba59f35f225938c3ad476bbf5da2361c1caf422665a97 |
|
MD5 | e4ce555e55c622aa19b0cb458bcfae37 |
|
BLAKE2b-256 | acc49669cd507aaf81c98c0d2e0efe1fe9be37b05e1a2a4f8e80653895a984c5 |
Close
Hashes for cdk_lambda_layer_curl-1.0.26-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ddd9e15912a986625aca012c0bb7e5dffef75c66236bad0c5174297a3ed3d0b |
|
MD5 | 8b35c8fdc68e2550dc1f8175c812e4e3 |
|
BLAKE2b-256 | 061b1bc77179f632a3e7241f1a31210ce3a065bb131fbc7fb07cbe73f0e86a78 |