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.784.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9af04424e06853eaa8fc9a55d92dcdf126185d8d2f44098e6f83b501e6cb5b1 |
|
MD5 | dd7499282edcefd6cfed8715dba172e6 |
|
BLAKE2b-256 | 9475d68af82b988ded9508e6f953fe6fdccfe89e9612138478e7d38382d2e58e |
Close
Hashes for cdk_lambda_layer_curl-2.0.784-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab28de291bc3baedd749fed6056ba7ce162421d9bdbd3d000139e0705d3610bd |
|
MD5 | f042336df0e098fa18c07836c1cb8831 |
|
BLAKE2b-256 | a996dad32717a98c7a7dd8804623bd5f513266cbade4aa33534a0f322a4896d0 |