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.387.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7151aa2d38fa9cd41670fdedbb698fa03e91be55cb344aa7a373ed20d642f41 |
|
MD5 | d7ee42794595320d70f853f2db7aa08e |
|
BLAKE2b-256 | 7faf528dfd2b5e6fdca718e5ce9228b545b50c5fce95c7efad35dd3c1b860c93 |
Close
Hashes for cdk_lambda_layer_curl-2.0.387-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0df1170f21ac0a5824a0e251d7f5ea691e691f03b16863bb6dddfa0ae4762054 |
|
MD5 | f5170f78fef58ef2077c8a82c618ef14 |
|
BLAKE2b-256 | 0bf7b7e651d4a32f8f6742aa99ce3047b01f83ec76d284bdd702503a107d73c4 |