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.531.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53514f40ffe3f8a881d5a8a071258b4fb6eebd18344cd3063b8c11c32367a8c1 |
|
MD5 | 9eba2fe00bb3ae8e910345299d6d6729 |
|
BLAKE2b-256 | 636a4dad5475d6ed6972bb426387cef62930989a5593736b3dfd4f38c2b579d9 |
Close
Hashes for cdk_lambda_layer_curl-1.0.531-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ced5364849ce95caf1f7fb13eb3a5fd7e83b05d7c5a1cd24b8f5ad0e073018f |
|
MD5 | ee4cfdb93cf1cfa6c7b01080c7a0ca20 |
|
BLAKE2b-256 | d9680d36ac76de1875e1f2150c1b72a31093043fb01f782778db7aa0f3d6032e |