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.470.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7d5b01d1a101e79e9686ff05e1bb3ec7cac2ad1df828f0276f7d5a60ef2895c |
|
MD5 | dc94f97825e8249dfa8adec4a1dacbf1 |
|
BLAKE2b-256 | c586b1cefb0ede2192860d6e09b6059742f8bb24b3c461078f6f365b21ce6920 |
Close
Hashes for cdk_lambda_layer_curl-1.0.470-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05245836bc8b810e7f1705ddb5d970747ef5f7b120eb55ebe71ffc3eca5358c5 |
|
MD5 | e87e6f9b14f3a26cb6693da77bda4cd3 |
|
BLAKE2b-256 | ff2080096d59ae35b356c944ab03434e9f1316ac12b8aee444fbe6dacd6d8733 |