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.416.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | aceacd8777b92692072821d2862ca099c97fb6b469b45969dc512092902e662a |
|
MD5 | 072bea9c45f78310e9ace1097210d175 |
|
BLAKE2b-256 | 7900106d413ee3b54d078669fa1ded5dbeac1058653c6605044d9ab91d774ff0 |
Close
Hashes for cdk_lambda_layer_curl-1.0.416-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 035771b98ced6ccde2b109fbc53ab90a5fc39af8cf04e9f4fa8438d82c36c953 |
|
MD5 | 91b7366351f265ab76518797d39a6b58 |
|
BLAKE2b-256 | dd5b591553ab2fd89a5ccd61984fbc9a26b9b04229a66d33da81167b9165f72f |