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.597.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cdffbd95555fa1c9a454ebee72420a4fcbafd7f613f655af43523e91bbbf55c |
|
MD5 | ea6077aaf2eb3fea0bbd97ac65b2029d |
|
BLAKE2b-256 | 0af9426ba3ce9b3d3d1e9b6b6e5d9ed8019dc4f806b276e49d61030941e9f0fe |
Close
Hashes for cdk_lambda_layer_curl-2.0.597-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d24415cb6267db33cfe6d935ba86c82a12ce2b344e952b8f25db11eb49dc27b8 |
|
MD5 | 334c2d7b5e2dd7522496f7f729cbd27e |
|
BLAKE2b-256 | 969bdfdeacddd992f2f32c9c20da6589ea3a42e2b521afec3412a64283861ec8 |