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.345.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73efbf18cf5a4c592a2a87e345eb4a9182ba7714c4c48e4b22976567bca536ea |
|
MD5 | 58edfea2e1af2812790306954b130018 |
|
BLAKE2b-256 | 1399ce1c677cbcb8df4d45ca91cd0d99c5f8cb51307521d855a41de97af7a0a8 |
Close
Hashes for cdk_lambda_layer_curl-2.0.345-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 955b3c4145e60c5290cc8d4963250c723b0055dfe01e375d56cd656e86233d7a |
|
MD5 | 7d87a98bad9473ceac87391f6229d063 |
|
BLAKE2b-256 | 022db9b6d69d37d5e265174a83bc0e29a1dee7cbf06062ad6d1279c41cf8a463 |