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.407.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 932f6dbad4283f730252a566621f5c3c5f3dba7f36b27bdb99e15728285fa558 |
|
MD5 | 6f0ef5a467b89e9048fc5e0e081d30f8 |
|
BLAKE2b-256 | 08cacbac4d81aded706113bb8b0f99ee5dccd6d480036951b95fafc7b51e7b16 |
Close
Hashes for cdk_lambda_layer_curl-1.0.407-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d36f3e753ea5d2de9e8207e08d6c5ec8f0a4fef48c5b7039c2270763b6901d27 |
|
MD5 | e87b7cef6e335f8b012e99705ba3c2e1 |
|
BLAKE2b-256 | bb10df4d8f0e516783108ce66d8dd27c04a7de3395735fe3728b716a73c5c1f7 |