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.413.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a347f7d60fb288b11b59913c6b5d35cbc91452ee0a8ba563ce8895106448b646 |
|
MD5 | 0367b91b9d38d6419506eb55b74ac2a2 |
|
BLAKE2b-256 | c3c825635cadcd8ce1b4ad30ace3eac06f75abaac6017d120ccb1f6b377ae06e |
Close
Hashes for cdk_lambda_layer_curl-2.0.413-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1163f512f25db19b596f37fac951f53433d0f56a801ed403ae3bf7d7ff415095 |
|
MD5 | 610298f20cea2faa02922989f44ea14d |
|
BLAKE2b-256 | f9ca476267c90f8edef293d1d8a58a19dc95ca6e9559fa89eb180e79415e4da7 |