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.593.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4798116679e29d2e5e092233c0deb713396a2cf7bc9009d7265aefa13ba9a371 |
|
MD5 | c8f4de0ce758c5afe3545559e03accc6 |
|
BLAKE2b-256 | 35a7349d4f95bb889ed74ac7f42915407d5c5d3efb205d1c90818891f2a1d13e |
Close
Hashes for cdk_lambda_layer_curl-2.0.593-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c51d80c17e96fffa6c0b586bc029f5b8a1422b39fc295ff7988c1ee0d63379ac |
|
MD5 | 3e63e431a1cd205258c30f593c70b9f5 |
|
BLAKE2b-256 | f1bb2c0b2eeabeba2eb829c34c42153a91d83c5c06872ba68011230f03626bc6 |