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.258.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0bde8c5d99a2b93e7d674e869f4e5442c700a2c0c7775469b36ed8ae3c192795 |
|
MD5 | 0471972be04191e4124cacf0044fafa4 |
|
BLAKE2b-256 | 15a3190d999c9b90b6442deca9bc1ddd04700e1be983f2d195337dd3175bc965 |
Close
Hashes for cdk_lambda_layer_curl-1.0.258-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07ae0d2ed63438758f69daaf84302b7bbc19eec3b46a1ca6889ddf2a0944e19e |
|
MD5 | 8bf1c2e0f4fd8ac8de972ed594b8c492 |
|
BLAKE2b-256 | c4d073f6cedf928ffafc6ad5e61a7365f594bca0bbcfe70bb56cbf5bbc7fadd4 |