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.97.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47a2be941db6076e56d245c995bab6ac00b457cf0a74a7dc9a02c415edb57eb1 |
|
MD5 | 1b2ee301a30b7736da66279165a4b846 |
|
BLAKE2b-256 | cb07bcc68d49f7cebca1585bd5f6080e83b5c3c7c788b7f0513e75785d4da9a0 |
Close
Hashes for cdk_lambda_layer_curl-1.0.97-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 873ed5e3f2aee3031fc80e95d14e06a65f43f1b295520e419a75937a343dabe8 |
|
MD5 | 3a7f9d1d2d95b86da6df4050e30d9cd6 |
|
BLAKE2b-256 | 95392d1d1ede7e0a4f44cd4ee21240022499d063be4d64f8728c5c36166f9c40 |