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.282.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84ffeb19628fd3b28dd7f349147691738ab4a12a2965bd5231d2b75197b2a338 |
|
MD5 | bb0e48de8b76a13461a9dc98be958c51 |
|
BLAKE2b-256 | 4eee7b1c0bb21c8714d953a5e9e4cd43fff7c4e752a31d0d36f3b024e452d240 |
Close
Hashes for cdk_lambda_layer_curl-2.0.282-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cb037039052a781c039c9f1728122aec3c8d7c314622ae2ab48b6311ed08473 |
|
MD5 | ad114e4e0bdebf442ae82cb3a751bb5d |
|
BLAKE2b-256 | 9177f4611600aedbc5ccbffab7ad3d27aa7a6b79dbf2a2dc9cda1e8953cf49dd |