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.743.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a5f0fc585941627b8be454ef6b8d585ad94ebca0d7661c87db94ea6c99efc23 |
|
MD5 | 1ad8d5a2c7bf6f8c84c6b57172afef2c |
|
BLAKE2b-256 | cce267a2d30043a8d607e20f50a29b4249896a1e3ac9a5a07e6914de14008ec9 |
Close
Hashes for cdk_lambda_layer_curl-2.0.743-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c437ffc50aecd4e8e7d5b0b20eadb1172b69b5dc8a7bd99b626c7b5e1653b51 |
|
MD5 | 9fdc2129ae1ee932f186d9de38e20b8c |
|
BLAKE2b-256 | 5ce19138f37c9989abc0340be8ed10f7d2295b512c4a540289c11afd287ab122 |