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.552.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 426bf2768cae97653d62e66680d910467d72e5d35d13501f6031d9f1dda31606 |
|
MD5 | dae27894bee589a9ff67dad4c7be05e4 |
|
BLAKE2b-256 | c22e1db4cb892524ac5213b3f943017c2d025e881b240569a97f446b6abb1876 |
Close
Hashes for cdk_lambda_layer_curl-1.0.552-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90fde60d877e9e7523636856983c65dd559b3004fa94432681e5ec0125f91a56 |
|
MD5 | 64a730af65c8f9ff0e198f9ef0d1bc98 |
|
BLAKE2b-256 | a5fe7dcc41c52828ec0afccd83ae0bb12ca260739c64de284669168568b9ddee |