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.774.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83f688b96f54829cc31e6c563e9f33e29999329b0bcacc67ea05fe3f9b782ec9 |
|
MD5 | 433d0c27810d67627036e45c992d00b2 |
|
BLAKE2b-256 | fd73d5cba29936bdf7ac7b362eb6f0547b097b54b37945d38b00c6b24762741e |
Close
Hashes for cdk_lambda_layer_curl-2.0.774-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76c1baeca4464ea085ba56f31cb17d3a8104bf7a5fda9def0565c9f7aa7fa7c9 |
|
MD5 | 312a9466b3d59273b72ff65fe2a022a3 |
|
BLAKE2b-256 | e2ee23fb3a29b1946ed352a6c46048407326421c5530b2cbb337da51275d1aee |