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.95.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d2cc083ed64a73604ba4fa1bb77893ea28f493f7e1d64f56a90a0dda7a83aa3 |
|
MD5 | a831db6131364ad537064c38e902a300 |
|
BLAKE2b-256 | 7abb900bd602ee2b505e254f370d5af149a73dab884fe9a48fffc897778a2def |
Close
Hashes for cdk_lambda_layer_curl-2.0.95-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d86e3bf65b8fcb481892b25bfedf1b0dfc6c5d16b88b48bcd8a5a6089144628b |
|
MD5 | d5b37ee2a952fc8354fd1fa17fc2e563 |
|
BLAKE2b-256 | d5ca0bcdab00b2dc08cbf62f2bd645aef26908283811faf46654c6fd2d8877e0 |