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.801.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40f1566046c0abee4c70f81941fbf69675380ed020af9968b42e0fe5f900af28 |
|
MD5 | 482250759263a4da6459f06c912c7110 |
|
BLAKE2b-256 | 900f7631a53a3122ecd0c8d62f00943fb95b2db0c80264750c5700c68e03e133 |
Close
Hashes for cdk_lambda_layer_curl-2.0.801-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e147ea4470a003c747b04417ecd6038ab1b173b4c8943b30266680aca1d4ef23 |
|
MD5 | 85217d303cdb4b8109eb7429e8c0ec10 |
|
BLAKE2b-256 | ac71ed76af06aaae2de9cea93373d440b8678237f66add372a3246e42b4c5091 |