AWS Lambda platform
- Last Updated: May 13, 2024
- 1 minute read
- Corticon.js
- Documentation
When packaging for AWS Lambda deployment, Corticon.js generates the files:
decisionServiceBundle.js: Your rules, obfuscatedindex.js: Sample AWS Lambda wrapperlambda.zip: Zip file with both.jsfiles to simplify deployment.
Open index.js to learn how to configure,
run as an async function, test, and log with MarkLogic decision services. The wrapper,
index.js, implements the AWS Lambda API to be invoked as a serverless
function and returns the results of its execution.
The wrapper is a complete, ready-to-deploy, Lambda function but you can also modify it to meet the specific needs of your application.
The lambda.zip file is generated as a
convenience. AWS makes it easy to deploy a Lambda function in one step using a .zip file.
The following video is a Corticon.js AWS Lambda Functions deployment walkthrough:
See the AWS Lambda documentation for details on deploying serverless functions.