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.373.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0ae14a865afe68caaa592cf43a8cc145299e4d33b1f16966c28c1095d9297f0 |
|
MD5 | 158d20b3517af91a3daf50a62ec29eff |
|
BLAKE2b-256 | 376131d27ed9f882ccca1130a42185ce84e166d91eeae8b774e05f58bbf8fe9a |
Close
Hashes for cdk_lambda_layer_curl-2.0.373-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e38433bc0aa49167966ea0c1da2af5569ae5cef1c260ccc8f4d3d20f88d82e9 |
|
MD5 | 6a4df0d11d7d3def17edf787d8760184 |
|
BLAKE2b-256 | 0c5597b479f4e9842e06608d88a8dbe1c48991e358551e22d7a6b0a369fe8b6d |