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.500.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2168768c5df9ed43ad1d55df883632be9cc654be6ec4f200db3be503c994d07f |
|
MD5 | bfcce4068a4587f68cdba820e4e4d4ad |
|
BLAKE2b-256 | 6424ce11c7faec483e70cbf5e61f142a90baf00011a1abccb513d83c99ead349 |
Close
Hashes for cdk_lambda_layer_curl-2.0.500-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3adbba8bb70aee842bce05d4ad32a4b4445c3766f2614fe60bc640d727df8fb9 |
|
MD5 | 7085de8c17254622f5d0c5ec4a81def9 |
|
BLAKE2b-256 | 1fb487496f3255a81e4035105bcff6f3df415d817b7151835cab08ed19dbc8e3 |