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.174.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb01340a6cc8ff71085d1d548b55cb04534adf5fabd942be7bcd4f70f60e2fb8 |
|
MD5 | 793c2f4715cab15e10c96c2b064a42bb |
|
BLAKE2b-256 | 8a60dce13e3fd717b8db8e5a00ba3b3102f7b13886a20e61b4a20f94d51d5c37 |
Close
Hashes for cdk_lambda_layer_curl-2.0.174-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a461b01988c3c8a6f19d476ce821004eb02d1939a48211824f86345f7d232b9a |
|
MD5 | 764b4b3050d69e986db84f4b24c87665 |
|
BLAKE2b-256 | 86e262888bf8123f597e4e0d65b7421951c6f2868f05a67f3231ee5afa72707e |