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.88.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c0e772b7c9b84750061adb53759eafcabeca952005617d7e6619d9579c2804c |
|
MD5 | be094b421b0dc61ddca1d25c483c4514 |
|
BLAKE2b-256 | 1571cf76f41414227b2a5fd4fb4ea99e3ae7a7be0f19798d44a16486bded9243 |
Close
Hashes for cdk_lambda_layer_curl-1.0.88-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ca1e1630323073bbd98ee32935f66747e8d41249e043d0269b96f8403826fc7 |
|
MD5 | cdb30a66d9e6839cb060d96e76ad3d6c |
|
BLAKE2b-256 | 9b131dd9dd3b365f72652b8b9669bf0917dfc520a7009b48e9b4231894d1de98 |