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.286.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee30cb9899fbf26798da1634cfd80c528f2770503d4851e4f2894b6cfe91b3c7 |
|
MD5 | d4d8df6b8af570d1b51298b69ad179b8 |
|
BLAKE2b-256 | 01b197357adb492df167b943d4e3b973b4571989595cb48c2344f233e46316eb |
Close
Hashes for cdk_lambda_layer_curl-2.0.286-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7239a2ac590ff2c224e753aadc1c224f6889fdf1cf5e33b8eb423859a3ddd107 |
|
MD5 | 838c40031382754191cdead8163c34f5 |
|
BLAKE2b-256 | e0d40a7b3e780cfb5645017b34cf572e8cd56259da1e988774f776a884574d4e |