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.804.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd141b0d49606614dec6c7f6f46d99c05b38143b49be4fd258be2ec8b232e273 |
|
MD5 | 0f9c9c28a7b2054e2e96f81e98c2c2f7 |
|
BLAKE2b-256 | 00650955cbd0fc3e98eb22563bde95eafdfb883337d87230c1e89b0d05098280 |
Close
Hashes for cdk_lambda_layer_curl-2.0.804-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54ee056d2564b4970cf8ed42ec1da2ff03d35de0d91d112d212e7dfc2e815203 |
|
MD5 | feb3d05ebe9b5cf1f1a164ce5881bd28 |
|
BLAKE2b-256 | dbb4eac80ba9bc375005c61fd05217a82b95616be8cc5b45c6b45b916053f9aa |