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.163.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4baedf7c1fb7d30493e56d1b2fa5889fb5a906d5709bdd0cbc834a9340561d53 |
|
MD5 | 5b52397b566f594c2f8e24eb00f57088 |
|
BLAKE2b-256 | 9d9e04b96a0961e61441d880f395a9907fd68df9908d637404f76f9fd44d610a |
Close
Hashes for cdk_lambda_layer_curl-2.0.163-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0f903f3d8020444cbf6723bda08f05b9441f6467cf09969ad0884716b63ed1c |
|
MD5 | 5a430e505de4461acbb685872bbe2320 |
|
BLAKE2b-256 | ae3f2bbeb30a7ecce3a45de1cab994aeb246ba13bc730b99b22f89f47d89463f |