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.173.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0215f4e72dff966e681fc0116c42ca603ca30b0c178425794a16ee089407f57f |
|
MD5 | 96478c25d2cfdf3076669d2773c4c527 |
|
BLAKE2b-256 | cfde117a014167ae01f24f652ca5b69cf4ecf1b614c5356fd96f4e659bc56083 |
Close
Hashes for cdk_lambda_layer_curl-2.0.173-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 169008b0ab0e4161a25a3354e4ae6f9497f3d7e385a6c7ace28a602cf7792c23 |
|
MD5 | 97f6e6d4999b6c66ce7754cfacc7db6c |
|
BLAKE2b-256 | 9dc37fcf0d9d1696040c8deadbb1e74ec954ad84b72fc05934b6d5eab05d367d |