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.805.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4c05e59804d88a6e7b2068236a080ac063d0ca069a4d489e0cdf5fff8c656d3 |
|
MD5 | 3a89b2ebfe0ba3569898318b9ce5bb28 |
|
BLAKE2b-256 | 98f931558e63300a7d1c215cf3c9520069c40a490cf87482aa65a7bffc01b5de |
Close
Hashes for cdk_lambda_layer_curl-1.0.805-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 340abe99a6295daed57a4260c48345d60097167ab6335fc1db0b58c225899928 |
|
MD5 | 2ebac3a69b200f1f0cc38b49ce81ed11 |
|
BLAKE2b-256 | c3b2962fdcdb2a9359217de2b6f495a33e4f6c4488fe70ff1f8455198a1316a1 |