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.217.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45fc35e978646dea98fc3a54e5d4a7cb16007c8a2361f00467e2631b6191480b |
|
MD5 | 1388271bead7c2d793bb7f3c68ad1023 |
|
BLAKE2b-256 | 99afd50b3d8a3be3ce8543c96b9be879f6281bf9f16f3abde5345b3d2838644c |
Close
Hashes for cdk_lambda_layer_curl-2.0.217-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 961390b071fd9ac3acaa217b6a72b5c85813d88465574de89c6886fd3a79669c |
|
MD5 | af8869c2a597862c8bf0c01e4704aa7d |
|
BLAKE2b-256 | 6db56b771413062fa94c4de2a997d12b3da9f82def76bb924146e7a89489077a |