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.439.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44029fe68d51b58bc86eebd2148a9092dfebb678e6b8c5059c923afb0810def1 |
|
MD5 | 98c50ca43dafcea6c2b52f25c528cc4f |
|
BLAKE2b-256 | 79680ae98c3bc9214906d9eea2c7634264a841a4af4d89cde49b65e411615a68 |
Close
Hashes for cdk_lambda_layer_curl-2.0.439-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8dd2d7d27643ac058954ad8aac2146f0b4ac9a5a8c7d39d2d4b1b4d1bad040d1 |
|
MD5 | f10adb932ba86a850bef828dcaa7e676 |
|
BLAKE2b-256 | c4814030719a86d8462d75b7ac1221e367f9c6b0b2597c6ce0b940b9a1d4531e |