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.57.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b32d21aedf8050eeeea3dba0486ef5fac7f3034b18c8c5c1ef37c4cc1dca85f7 |
|
MD5 | 00b0fa06da22a372686266d65b14a497 |
|
BLAKE2b-256 | 8cad8ceea3fd808a0db80816034616e9e5adb54a89ee0e0f0613878d7d61951b |
Close
Hashes for cdk_lambda_layer_curl-1.0.57-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0e88b123f597f196595c1b872007d4111edab90e6360e470518fd73e3c37986 |
|
MD5 | 86c525e09a26a5a14c60d96e69999af6 |
|
BLAKE2b-256 | 1d4bd15266a4b85c90a542632b19c713d77a6e3a4f00bd9af28657135d16b036 |