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.799.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80c1539d8a96693e7c96e2217908f3ae2dd5a5aef50f6a25efb1f5f2ce1020b2 |
|
MD5 | 39d1d8165711d77a6be556ac50ee35a9 |
|
BLAKE2b-256 | a6ecc8b90e3281c5a36fc19f24763e90fab58926b510f4af035ff5d2e1e64eff |
Close
Hashes for cdk_lambda_layer_curl-2.0.799-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 778615892fc215f569fb2e5b87c6f97265c853cca821b7a2307e893bc1fada6e |
|
MD5 | 9bd0f1c1d52df70454ea0b981e4f980b |
|
BLAKE2b-256 | 3a9a947bdb5d5296c509c2e86c4a809660cd3305a1a5b3d9be91217cf269bc45 |