In this section, we are going to walk you through a fairly simple example of how to set up and get started with your very first step function state machine.
The scenario is fairly straight forward: I have two Lambda functions that are used to either switch on or switch off the light bulbs in my house! Don't worry, we are not going to set up any AWS IoT out here! The functions simply simulate the actions of switching on and off the light bulbs; the real idea here is to understand how to create a minimalistic state machine that will help you do so.
Before we go ahead and create the state machine, the first order of business is to create our Lambda functions. In this case, the functions are really just place ...