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.495.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a26ba4e474f398c1014078d60e1cff4b99decb7413170bdb97487577df9f0a8c |
|
MD5 | 62981d74acc4ccc6b13343e080ba2a9e |
|
BLAKE2b-256 | 112a35979580aa4b5d6d34ccbe39a0f8174f206bb8b100f088d02a6908339a1c |
Close
Hashes for cdk_lambda_layer_curl-2.0.495-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ca19f1b931c99f955ec880de9e75ff5d7c2a13779a7d059ab7a005c895bf8e1 |
|
MD5 | 1f5269bb9cd642aee26737fdc623cab1 |
|
BLAKE2b-256 | 642f43b25465758f009d9fc43d70800603270dc0eab1cf8cdf45730e0ac6bd76 |