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.158.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd167330ba413eb5c2d381e17906a891a45894c798101b608bde12b7744493b9 |
|
MD5 | 1a1ff66b7fc469c48452f453e65c5c07 |
|
BLAKE2b-256 | 215992a856f3a4775b2c1a28e04b9dd355c423de993d670d92b610c4376d93e4 |
Close
Hashes for cdk_lambda_layer_curl-2.0.158-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6654b39bbd618fcdb0fa72490362cacae1a731082035329ac00036d383334fda |
|
MD5 | aa444b4f592bde2d13abf281df7fbdbc |
|
BLAKE2b-256 | 7a68e5ed7cf60a1174513661a0d2c3e9fd6c440cee39d2edc562d73150db440f |