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.626.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46d89327a178cb70c7782263c27a2ed27368ad287667ec315bbcab9d225d8092 |
|
MD5 | 2f1ea60a54a6d9eb880bba8e798d2fe0 |
|
BLAKE2b-256 | 78cc7f0595614bc0bbbf5a20de74f4155cb8d2923bdc90b77493175937a56d7e |
Close
Hashes for cdk_lambda_layer_curl-2.0.626-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97d602a810abe4facae8936c51fa86e59b94d29a7863357a27e7842bf1458506 |
|
MD5 | 0ba536c2c619413f0d300e5e85e33ad0 |
|
BLAKE2b-256 | 9f321b0ee42f454bf8f571d83dcd20f9ba60851396546288ed2b64e0edf891d2 |