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.791.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7ecb783d547ca098875760c4667f8f1663458daf53ec84007f320eb4dba90be |
|
MD5 | 209f6d428833e3d72723d8509c7e7f6f |
|
BLAKE2b-256 | 3dfd71b9f67a1608302b1bb5209c8f60c43b7caa4a43110018b18f0034ce6ed5 |
Close
Hashes for cdk_lambda_layer_curl-2.0.791-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03e934b285e9dfd8b753afe4402b6d5a67f72975ffd6383b0ee438e26b28e00d |
|
MD5 | 362b4b7f512c46f25c855f8903da40fe |
|
BLAKE2b-256 | 5bd4e7ebca8174e0674c2a1ea5dac64fe136050ec544953a2a41b161f01cf5f1 |