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.152.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a20b287e0344480d3a805f86969550f18a152afa9354f0745e3fe665595e52c5 |
|
MD5 | 3c6cc2abd0607e32efd7d2ebd3b0815c |
|
BLAKE2b-256 | 27af6a92f12cfbcb9db50d1b37f0c2ca9f05521ae819f03cbf62344f4afe3024 |
Close
Hashes for cdk_lambda_layer_curl-2.0.152-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16d793590d2dc593011743398877b7a4e1d0b08e6b1817119daafecc0603935b |
|
MD5 | 01935c7a6849a9d28277824559236ed1 |
|
BLAKE2b-256 | a16c9f2ed887161fd562e86221bb701c11ebd6fc5b9d9edf870f2202bac69bb7 |