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.566.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19305dc9821cb2737ab31c4698d181bca4bee354bf7147a0721eebe5c78214fd |
|
MD5 | b42d3b5b602b72411776ed8056abcb2f |
|
BLAKE2b-256 | 61287f2dba7564e1f4143514b7a3679420ff9ccdc6af1048eef20f53c91188bd |
Close
Hashes for cdk_lambda_layer_curl-1.0.566-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41c668134c5efb84901d8211305a19102c4a1b45258ce219d11e0aa5f9b5a6bd |
|
MD5 | 3ec4a4aae1841537934a9d6fa03ee799 |
|
BLAKE2b-256 | 0906558b72f4378fc5b2b6d66e92f461c09a09bf0d218dff7bc14b2eced50613 |