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.138.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61e7408a50b888edbf8000dec53d7b7998b8bc127a35413d8b48963456a5aca0 |
|
MD5 | 6ad692381be56ab15c2c13cfd3c76634 |
|
BLAKE2b-256 | 4a44eb260a366e0928246525509cb428e7b5da3c6a5cc926b3538af16b8d8d6b |
Close
Hashes for cdk_lambda_layer_curl-1.0.138-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa8ddb3663bf15fc55a4fa4a738563f3bd3c3a56d8bc2d93b0f48d658a28a401 |
|
MD5 | 9010842eedf043e1d7244ae94a25718c |
|
BLAKE2b-256 | e3733be87b7de5923e0d8edf99dc722bd08249fa4fa10c03a0d210bed9232e58 |