Skip to content

Stepfunctions

Basics

  • Address limitations of lambdas
  • Stepfunctions allow you to create state machines
  • Maximum duration for state machine execution in step function is 1 year
  • Once can choose either a standard workflow or express workflow
  • Standard workflow is default and has 1 year execution duration
  • Express workflow has 5 minute execution duration
  • Amazon States Language(ASL) is used for defining state machines

Types of States

  • Succeed or failed state
  • Wait State - Certain duration or upto specific point in time
  • Choice - Different paths based on input
  • Parallel - Branches within state machine
  • Map - Accepts list of items & then for each item a specific action is performed
  • Task - Single unit of work. These are states that do actions