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.596.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71584ea1c6bf2caa043c4adb54171450bd2d17bed29ab349f8d8ead9eac3486f |
|
MD5 | 491036076b51f65254f5c1c2680d5fbf |
|
BLAKE2b-256 | 1ec4de7062a3012dae0b3552930f3e13aabe361306beb4cf804b98578b929fa0 |
Close
Hashes for cdk_lambda_layer_curl-1.0.596-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d463ed8a680ca7a6d5894e6315b45c5c185151bd32f7c8b3362ec92714a4054 |
|
MD5 | e29efb352cf90034b9596a766bfc09eb |
|
BLAKE2b-256 | 9938f408b9386611e337e9a73398ae02ca1b2cc87fe7776e8a0d795450f139a7 |