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.31.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd9e178924fc76d6043229b65f5aaa1333c1820306cc82df4d73da3bd8929cfd |
|
MD5 | f5cf62fb4b1c03b8c13ab50653431674 |
|
BLAKE2b-256 | de0644d158b06a14b32ba5e214068d6ed1b7a5951fb9390d7c70fa43c60669a4 |
Close
Hashes for cdk_lambda_layer_curl-1.0.31-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aab1589da5e899337782428e88eb6a514914b69c13343ee820ef20101a144bf8 |
|
MD5 | 42d5a0431106d6345a7aa8a179d5d501 |
|
BLAKE2b-256 | e96d4978508dcff416283075ef1aa8c48c93ca356727035549793f2ae67fa40e |