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.368.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0da885835961baecd1fb0ef5df082d72993bfcb9e41a6540e890a9ffa421edc |
|
MD5 | d6698aec2ec2bb085a0fafa7e5397181 |
|
BLAKE2b-256 | fc1f763d4d9d66c4780aa66832cc6d9cd6868c36c6572d6c6bd17a8d1da55c32 |
Close
Hashes for cdk_lambda_layer_curl-1.0.368-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb0026c9bb0daa7c659b210c0a52e7b7c713840bec159d4f3a7b5d4c46d8e803 |
|
MD5 | e4ed2cc6d4224714e250c4f26561f375 |
|
BLAKE2b-256 | b74fe46c47e374a65f477c2fe768d4e1b12585a2a5fdf38ba18860aa7d1aa9aa |