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.135.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 842bd09381a539d643aa7d43f6413cdb7cd9ca89b5d87cc1b7957c4c7e96e126 |
|
MD5 | 736b2fcfd0eeaf1d17ec27ff362096b0 |
|
BLAKE2b-256 | d380a2d27b9f8509e28d64d7c1bea5a9bea5c0c47d8b6a549ea867a81ac177c5 |
Close
Hashes for cdk_lambda_layer_curl-1.0.135-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee9133e0a9f01c74df4194a848834168ea59a6dbd7e590ea3f25f5e937e9bd62 |
|
MD5 | 6bf3a6ec21f102029b0d5616622a7ca9 |
|
BLAKE2b-256 | 471873bf50bc83ef19b29202ea6f44382549b23cd64b25d9bf3ea0c59ff4c8a4 |