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.528.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cb9fd56cbb9e00343f547fddabce2f686d469132720be12e3b7c51a86c49b3e |
|
MD5 | ae72813df1ed7d5d60b56771a468338f |
|
BLAKE2b-256 | 6ec41c3918fc32c8af617f1563acb3e265ffc34ecafbeedb85535d48f20a847e |
Close
Hashes for cdk_lambda_layer_curl-2.0.528-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a111b14026f6042000010ecbaea26505cd2874ac385c92f0c57962f23e67bde |
|
MD5 | 77760d6a8805c6476ced0f4050cbba1f |
|
BLAKE2b-256 | 793e4d97bfd1254a5b147139d0531686e22861824c3596db7440ea6a2515dcf9 |