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.339.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 414c50471f7a70916722e7477be9693c454be0c9021c00d7f786b4f034865728 |
|
MD5 | 68bd91e2d22a2eb90e25833eb43e55cf |
|
BLAKE2b-256 | 05c50dc32807a34925827d1a6c120a88ffbcfbb56291c7584a2953904baf62bc |
Close
Hashes for cdk_lambda_layer_curl-1.0.339-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 341ac773ccbf0d1a8765a93f64d93e16fd015e7de2ef1855295a822f1f61cd88 |
|
MD5 | bf4d1a3102066f99cf86870dc88d9887 |
|
BLAKE2b-256 | 7a286ccd6474846095414ba6e40caf6ebea8ae88c28f2faf50d5384e0a43eead |