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.323.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ff4cc4e09e828b751beb62bc56eabc29fc4caa9de55d7e0620137a964356d91 |
|
MD5 | 18e6b793579cd922cdab7f4a61e3ff03 |
|
BLAKE2b-256 | 86bba7940dd75f933d7bd96dfcbc4f7b2351de6d7782e9f14d0f2ba780c123a2 |
Close
Hashes for cdk_lambda_layer_curl-2.0.323-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13f8e0aceaf6407236987258f1b1e0f996c09619b22d15fcb1f6bf524a6affaa |
|
MD5 | ea014e15b8b92f6233b9de5a858c9526 |
|
BLAKE2b-256 | 5b3e72c8ba67e6a5b0c3b8ed8bf2257bcaaa0352a9540e940cc26180c8a7a958 |