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.54.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6f3871c309c02a78ab3f0cbe10a023c2af2c9c3afdabdcffbe055e5252e40f5 |
|
MD5 | 646823153d3e5835a275d15298632dca |
|
BLAKE2b-256 | bb08327854a631f3989aafbbfc31ad66c4751a55669214b7f2e4a41c5119a8ae |
Close
Hashes for cdk_lambda_layer_curl-2.0.54-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f100b5482bff252371d20ffc033cf54ddd9aabc38595fff5271d1aa16828880a |
|
MD5 | 2562f53a8b5e27c74a5234df19a08e17 |
|
BLAKE2b-256 | b994cf2c6ddba9638e278103b28e7401a78e889f4f3e6c1e19b681dd548548e3 |