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.15.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 769c4b8a2ac8347d92260a354439c7d30be19018b6e66c9f66473edc6cb647b8 |
|
MD5 | 57022065e20f010f8cc86945dc23eb48 |
|
BLAKE2b-256 | 6055b14fcb7310687cce200d4cc6d94b218748a99e7c77ac41f65347a3e41a19 |
Close
Hashes for cdk_lambda_layer_curl-1.0.15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e66182133524eecedd8cac040dcb7db97bff38d4b2bcdd3e48c236e14b21990a |
|
MD5 | 96725bc6858af7cd5828b737751a7450 |
|
BLAKE2b-256 | 6b3d868ab6e1675bd1f70a9a57c0bca34cb13c93b8a1946678312748ff3a3376 |