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.574.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5befed6865606fc426dad6d4c85a85077fb3670955330ea19c5423f564e58dd7 |
|
MD5 | 4f52a0afdb484e8d49ccf5535faffd04 |
|
BLAKE2b-256 | 54b2c83a2291ec4a345c0968c87bed8a125e6c71da122ac67394e321bc405108 |
Close
Hashes for cdk_lambda_layer_curl-2.0.574-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d031fabad0b3a1d2f1dccfe980767d14b6a87675c8156c0c4564f7602c40a0cb |
|
MD5 | 6a8b4de66f394c83245ff76f011f6760 |
|
BLAKE2b-256 | 284639ec6db38acec4f5e77d8d06c58db49be5f8909461a72506e9fb05a2b549 |