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.388.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb92cbac3583ea98dd1e335ab3eef0db39e8b18d5f5cad5da5e56dbe26013bd2 |
|
MD5 | e0fb8343106f86a84bb5ea699e4725c4 |
|
BLAKE2b-256 | 46a3c4588c2a961a38691c9bbcfc7ba856f578e282a3de86a83b5d0bed46ce8f |
Close
Hashes for cdk_lambda_layer_curl-2.0.388-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 835568a1c77a249845b55bf5d845142bcbfc9f80b3ae8950437b3573e5408d10 |
|
MD5 | a44080be4f29eb3e7301b4832eae0dac |
|
BLAKE2b-256 | 469b9b23edf42a121dcfec72d8f6a32ead134d3a1521d8248d6452e95fff6fbd |