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.523.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5acd393ff90a8f8ea119e3bd1960b24b1833214edab9a685b0d8ee7c9981223 |
|
MD5 | f4e0fef31a3304ad9ad521d9fc1f6f58 |
|
BLAKE2b-256 | 7d0119411700181d0155012723534ecda2f7d17be9b4708488db6270a4571de5 |
Close
Hashes for cdk_lambda_layer_curl-1.0.523-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d27f60673cb785b361f04dd12b30b9b04f09d1450ed484dfc84d3de2f3678bd |
|
MD5 | 2cab1eec18d228c64eee2db5381c0e09 |
|
BLAKE2b-256 | b5ba5cc8944808df4f1064d6a3b4fbbad3c3d6f429d3db2ebb84864f6875b61c |