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.835.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35001c3fbcc31eab0e2dce42b418297ed4523032088ed80b0079430e676543f8 |
|
MD5 | c407b056b920808d54a9489284c75167 |
|
BLAKE2b-256 | 132d49c4edd16fd8a54ee180ede64f98b1400975666c9a96567302189f0749e5 |
Close
Hashes for cdk_lambda_layer_curl-1.0.835-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4aa2570bb19638d2448cc12dda7dcdc64e6a610e63ca2dd171644803da0f645b |
|
MD5 | 6154a7686bc4f42a709de24eb2ddfba9 |
|
BLAKE2b-256 | 9d0290c9b80081d43231a232219c52e49e762ae2860fadceeade0ee66005d796 |