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.460.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b91302da8f7fedfa4651cf0e769fe5d714677159ea276c0ad909cf20eb29d36 |
|
MD5 | 3c8d06b5d1c5f2c8cbd415bb4ad9c7dd |
|
BLAKE2b-256 | c27b2316a31b4c2f42466dc034bd74fa7bc802cc88fb63b44dfed9ec9adbd7b6 |
Close
Hashes for cdk_lambda_layer_curl-2.0.460-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17d4f714607edd2e17b357ccf9d5ddec5e3d4d123c61579b662e8e3f51fac80a |
|
MD5 | 7545c6af4961b5534fe435c8ecf3b380 |
|
BLAKE2b-256 | 85327e47ad8d59c38e8daa8f420bc00f3db5774b30a855dc9ffcfba2079d4568 |