AWS Lambda for New Beginner

Introduction

What is AWS Lambda?

AWS Lambda Features

How AWS Lambda Works?

Creating AWS Lambda Function

exports.handler = async(event)=> 
{
const minimum = 1;
const maximum = 6;
const randomNumber = Math.floor(Math.random() * (maximum - minimum + 1)) + minimum;
const output = 'Dice throw result is: ' + randomNumber;
return output;
};