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.797.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3606b0c6fe7ea305885888d41ac2c0c906f4cdaaca6d697258982b4ad02551b |
|
MD5 | c88c40744de6fc8818c9f506f324a29e |
|
BLAKE2b-256 | c6b23659b79a6ed0f857dafcddfd065fe3dadbf663ddea75a7d487830150fa1f |
Close
Hashes for cdk_lambda_layer_curl-1.0.797-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd22c705317340169c01626767fa579d766f6dcd3df0caa2587e712c735713a9 |
|
MD5 | f04a720d4c6f833728edb32cdfd96397 |
|
BLAKE2b-256 | c7f11ae0f1d583fd46ffc093e0984cefb44652c611984b043e627b6454734da7 |