How to Setup AWS Lambda in Scala without any external Library

(Originally published at https://edward-huang.com)
AWS Lambda has been widely used to trigger function as a service in a serverless architecture. It is an event-driven computing platform. Lambda runs when an event triggers it. It executes the function that loads into the system.