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.611.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f29382144e80e6dc8c838472bb3e847e22996d159a42940e4a3896b6b3b1899a |
|
MD5 | de38840dae298374c915fea974091421 |
|
BLAKE2b-256 | aceb011ed5adda694104c7951daa084a579d9767ec303a9550f83205d9f866f2 |
Close
Hashes for cdk_lambda_layer_curl-2.0.611-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7820573717805d910df61bd290f3ccc0ebcb8f8357b64954bbd1767743dc69ff |
|
MD5 | 84b0b6aa786980f94999a4a981171d0d |
|
BLAKE2b-256 | 67b2d805ca6a6cc6c2593b0450cadace84e429f2a6c50c0fa22d5cc554f38361 |