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.293.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62bbe0f79fa415ef6cef18bd989e730418d7b64f5d4d49aeeb9f76b762753b75 |
|
MD5 | b400a425ea641e5d85eefc92b3b0bccd |
|
BLAKE2b-256 | f57d8fc9a99735f15e9e7bf0b6754f7986c367e5bf9d3a6bf377723974caa2fd |
Close
Hashes for cdk_lambda_layer_curl-2.0.293-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 867605d0de766f4e74da44c3ffadac3a2e7a83afddad395cf977500c8ac62f67 |
|
MD5 | 2b3a0711cf51a86a388ad22f2f07e598 |
|
BLAKE2b-256 | d8b274b6dc9a43e5f6156a586e13145e7419edde8bb85173e6ed1297cf9333fb |