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.153.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3888bfa5efcbe6b040bda364ebf4fede5d734ab1317c48d6645c0e6c16508c6 |
|
MD5 | fd330e9368f1fecb35f139f282b98a9a |
|
BLAKE2b-256 | 9482732c4892032ba67933a2657bd51c9d51d188d172399bbbd5e0150268fb9d |
Close
Hashes for cdk_lambda_layer_curl-1.0.153-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15024a96f9ca56994de5cc09465f05fc1b217e76fc50a5c2120c1497a3fa8dab |
|
MD5 | 9b5c617522a65e1a74369784f4c54f98 |
|
BLAKE2b-256 | 4da2f08016a65da74de8fe4a4baf5f8a9b67072ab958fcb8b8a4f5cd173853de |