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.599.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e51bad97e00c5fbb73ac965505304f4f458f36d6f886729a6fc40b238cd2562 |
|
MD5 | afd86a617f502b7eb23c5a009d3eb561 |
|
BLAKE2b-256 | 1da835e38872e85d440783c480d922b32f819a1cff1f4a56880971ac6dfc0233 |
Close
Hashes for cdk_lambda_layer_curl-2.0.599-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5219d5c1a8813773c126232bbcb1e18a2dce4cd84131c61259fc42f22c641599 |
|
MD5 | e0451082b124e07599e0f6e97a99da12 |
|
BLAKE2b-256 | 4d5e7f746fc61db3bbc56df0582fc62b78a0a48073ec7422beb2b757794b1946 |