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.375.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95c67ed3e4373f45ca6b6c1f093ce68dbe49a72ea0f65160a0c669c873f217d5 |
|
MD5 | 89eed62d8ba63dc1b9f6afde39226c41 |
|
BLAKE2b-256 | 96f482fc9399a99a6cce85db7a0d3533c713bf0f750730572c1b6224439a654a |
Close
Hashes for cdk_lambda_layer_curl-1.0.375-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c6bade9436a45fbbec3148546e2cbc0158b66480fe149651f4bd2bcba52fa51 |
|
MD5 | 12f3dc2b8e5145c6be3b23cd1d53b289 |
|
BLAKE2b-256 | 5e815fe291cd3988432fbf68183428be5a1b20fbf0d0c293064a25c6aea100d4 |