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.104.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0a399b54bf9dfe7f59f85e6543b18f0af6ccf0bb90527cab416a1e121dc90e4 |
|
MD5 | 4f02ac77bbe97937e76f96f435a4153b |
|
BLAKE2b-256 | 148350e67c55472321d329021ede5820914d667224db42a5f396bc6579f5a193 |
Close
Hashes for cdk_lambda_layer_curl-1.0.104-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a3167b9c9a5063a8c8e1230155c2418f2c174e6d8f07e90519e095bbc44a48f |
|
MD5 | 7c70ab96c5d56db1281a7b55ae7666e4 |
|
BLAKE2b-256 | 47cd2995830e39542ad8499180b8cd5850213bd503cbbb926d70712eeb3c0c51 |