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.226.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b4a35a4d0c6e1c93e9186256d725cccc111fc37b3bd11560a717642e4ad5eb8 |
|
MD5 | 1159f4b1ae4f9c8def422fd6086c9695 |
|
BLAKE2b-256 | c46691f6d06e6a0fc8ff703bae5245b6c853fdbc5f5e633c6f8fb6573efe7a86 |
Close
Hashes for cdk_lambda_layer_curl-1.0.226-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aff523d5cd189b315e039cc86f1b5636a5a5e28a5b49ea52d65ad06ba8e96cb9 |
|
MD5 | ec73b2d82768d869bff788003e1b5d26 |
|
BLAKE2b-256 | edaa58918fe7907809679055e917cf9f8cbd59b2d69ecbeb5be1d79fae312536 |