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.355.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f3e271473b5c47ed994c8443876a58f13d47cac976ab8ab1e499356490f53f1 |
|
MD5 | f4e63fe2419db208d6781abd0c8d8bd1 |
|
BLAKE2b-256 | 5f48fd5b1c532ba8a78adb1156611249fbe841e39b9aac489fa3f6f3e90e5759 |
Close
Hashes for cdk_lambda_layer_curl-1.0.355-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f2e9087c7e66dca0dcb4ab151da84b3401d845f54732299e52df24c39f398a0 |
|
MD5 | f0e1bc2e2a65006e7883f0d6493605e5 |
|
BLAKE2b-256 | a85fbb108b14e12b2944cb9137259c3f60fde7ce6d191683ede1d8454712edcc |