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.821.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9754d86c9e13f25473cfb5ec5dd17a44ccc077da283b5684c91eac073e780b52 |
|
MD5 | 29eb298e1c3ec78f592867c11f785f94 |
|
BLAKE2b-256 | 40eff6e8fba13c053f2f2b9313429b99ccf991fd6d27a33986102cc715581305 |
Close
Hashes for cdk_lambda_layer_curl-1.0.821-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00ce818f338693aada04995adad0fc2a8f02aece8bb364e2d91f9b1218085ae3 |
|
MD5 | 4e7e01b2d4862c9e0e5488abee8c52f4 |
|
BLAKE2b-256 | 0227dffe7576f95cd1a10ba72f17eebf4b1355ef3a205aaeaf419113b289c89c |