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.710.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46a995799d3df799e9afa9f364020cd12ae89d7a3084bbbab6e8f0a0850e741e |
|
MD5 | f49dc7177a6ef3747a4a5b8f07ed4c53 |
|
BLAKE2b-256 | 84346728e1fdf5f87e322793ac536cf8ee0622cda57e4cc782868edb01201bb5 |
Close
Hashes for cdk_lambda_layer_curl-1.0.710-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea47e44ec8331ce014e566b54c4e65d85e07171d7eec008ca3a9d38ec5582bec |
|
MD5 | 0c8b34372bdd3ef7592ab1ac31047f7d |
|
BLAKE2b-256 | e218a5885a51a56b50457fe8b191f0d95aaa9fc8e6a29c9bd3cf9027dec3af7f |