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.728.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0a5e0f3f18571e1f969c4af0128c7865d30d28429d90aefcf523f1e8ccbe58d |
|
MD5 | 165bfe5af3907a560e1ebe9bcc1f3cfe |
|
BLAKE2b-256 | 0a5149878f46961d161600c5a2330e3f07d79a95495db160f88eb85578e17f4d |
Close
Hashes for cdk_lambda_layer_curl-1.0.728-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53916dac88f4629c50e24b5b6fe008b9de2435035a74d271f61c6a8dacab6c61 |
|
MD5 | a4e416e3c8bd95970b88c14f75410176 |
|
BLAKE2b-256 | f362cc84c8d8d215dc168c70bc3ad70078742317acdf79821d45ebcbaea92e15 |