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.71.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22404699c7d69ac74ea2162244ded81fd13aaeacce93e516bf3cf53cba57db22 |
|
MD5 | 33a092fc85398a7281b7dc9d088bf048 |
|
BLAKE2b-256 | dee3ba09adb1cae073942de3380ef9763bdb1fe9e5b7a3c9948b212c83c03f6b |
Close
Hashes for cdk_lambda_layer_curl-1.0.71-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d345fc68b5660116ae6065780060bf69d070576820a9c4a36df1011bb7885cb1 |
|
MD5 | 953a03692835ba339a9d199b564ae41e |
|
BLAKE2b-256 | 7ff7f5315b4ad52fdee3acf481c5ea5ef55e9573839a69979df2f1f0c5a68c4f |