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.423.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b332f84ba5bf44df9ac212142163b41028c59fdb9a83bd7a3d425ebcdfd33497 |
|
MD5 | c9dbf6b052534e18625c48dac1328f54 |
|
BLAKE2b-256 | e4a9ee0b8901c32fe25e0683e4045f0ac086dae3cacb71768bac0766f8bf4894 |
Close
Hashes for cdk_lambda_layer_curl-1.0.423-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae8743a109f34cf291dcd22785d37c5d91d18cde193f93f55cda4b0dff6dbe32 |
|
MD5 | 79d81e8b4794160f6886a310413bad47 |
|
BLAKE2b-256 | fe37eae7f63cfdc1149b07728b14e0d0b4760d504d572c73f0f8c27c23bd009c |