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-1.0.306.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72619d0bade6eb346d06e9282127131a05a6d44542a28875355e4865b8e0325e |
|
MD5 | 68b88947387fedf0aaa6710b55aecf22 |
|
BLAKE2b-256 | 01f4abc1b98141816516df304c5c094f91c0c685b1b5adb64cc8b25a237efd2d |
Close
Hashes for cdk_lambda_layer_curl-1.0.306-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9644a5b41d399f68c838b9cfeec0826a7d1c5b321aa0af58fafe961d6a551c3 |
|
MD5 | 6016f123f91f060243a39fe65a0e64be |
|
BLAKE2b-256 | ecf20b7ceb2c0660cb96e529803aa080ba2f0e47fd98d979e2c4c8bf02f80ff6 |