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.108.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | df507ddf32a3cb561dc672c44ecdf02f4ebf72c63220683850cdf939b6d4f766 |
|
MD5 | d6be4fd7441f586f926b9fc7f71b9a6d |
|
BLAKE2b-256 | e823eb65cddea45fca3ae772d4e4498466301f92d3c92a1d7b4f3cddc81bc7b9 |
Close
Hashes for cdk_lambda_layer_curl-2.0.108-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f3a84cec421ed7bbdf01e1250dad074c2c6bb77e3451d6705a920c92eab6484 |
|
MD5 | 16613f0462208d541bdfa1ab02ad4778 |
|
BLAKE2b-256 | 1b284a72369be4bba19ecb3cd626849a5a0bf1125601feff67afc11ecf1781c7 |