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-1.0.605.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87334b9a1de2021e296aa0aabea925cb7f6e629082865bc601d9acb216cad2e8 |
|
MD5 | 84d932d8391e71f0bb0891eb9e65b6c1 |
|
BLAKE2b-256 | 4d6fe40e3660a5426e91c9cfc7c44dfc4ce9e3b8468064c8f4047e1aa02842f3 |
Close
Hashes for cdk_lambda_layer_curl-1.0.605-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fe660032de3cbb84a1c92de3c19c677ea4c07becf8a08fe2c36000162533e4e |
|
MD5 | 03ccaed441a95485a71abd08cec52941 |
|
BLAKE2b-256 | 93ffa3f2d6233949b01abaac0f1e8e4292246ccc606bd7359cc7328c07a729aa |