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.294.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb6dba7aa6f925fe4c2cdf776258aebc7751bac7e69bc731aacde9b72c3b6667 |
|
MD5 | 365e161335e6546b5b1f494f95766fe0 |
|
BLAKE2b-256 | 51818b003850d88b94305b1d62612d10994a115879d8b1f378a063eb09ba4150 |
Close
Hashes for cdk_lambda_layer_curl-2.0.294-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be41ca74cbcaf3faa57903c8d7b9806ebc4461bfca2a821fc1d002d40f048d48 |
|
MD5 | 9ce9a3b16bd7606b7bb194486e4906d2 |
|
BLAKE2b-256 | cb8964dc3a94819a87ea2ba06e69d40eb0f7333d6a95111e48a66bc3548efd13 |