I am really new to AWS and javascript, so please bear with me if I make any mistakes.
I am running my code inside a lambda function in AWS in Nodejs.12x environment.