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.243.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75424ddfd033ec131ccdc03350e64eb1da3bd775bac7de34ed355add905428d9 |
|
MD5 | 2845637ad7ca9b6554e149ac8812ec20 |
|
BLAKE2b-256 | 31773c61b1152be196c5901d9aa73ff3f15afa24ca29bfb81cb0786667a45972 |
Close
Hashes for cdk_lambda_layer_curl-2.0.243-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6585e891af77916f7ee497ff3add779be6f292101591299591cf77e8150dd96 |
|
MD5 | 7219693e7e9a4f00dd5afa9610269c5e |
|
BLAKE2b-256 | c2a5d5c52d74c5238fd46e88b19e1b68b4f2c0d8f3906cd3efd8091af4a61f70 |