DECOUPLE & OPERATE Events & Workflows

AWS Step Functions

Runs state machines that sequence AWS services, with retries, catch, waits, parallel, and map states.

Official AWS Reference https://docs.aws.amazon.com/step-functions/latest/dg/welcome.html ↗
SCOPE Regional
HIGH AVAILABILITY Multi-AZ Compatible
RESILIENCE Production Grade

// DECISION LOGIC MATRIX

✓

When to Choose

A process needs ordered steps, error handling, branching, or a human approval.

✕

When to Avoid

One event just invokes one target with no state. Use EventBridge.

// EXAM TRAPS & SIGNAL KEYWORDS

single-action trigger, simple event routing

// OFFICIAL AWS REFERENCE

AWS https://docs.aws.amazon.com/step-functions/latest/dg/welcome.html ↗

"AWS Step Functions creates workflows, also called state machines, to build distributed applications, automate processes, and orchestrate microservices. The console visualizes, edits, and debugs the workflow."

  • Standard workflows are exactly-once and run up to one year. Express workflows are at-least-once and run up to five minutes.
  • Retry and Catch handle errors. Parallel runs branches concurrently; Map iterates over a dataset.
  • Human approval uses the wait-for-callback (.waitForTaskToken) integration pattern.

// AWS STEP FUNCTIONS TAKEAWAYS

01

Role: Runs state machines that sequence AWS services, with retries, catch, waits, parallel, and map states.

02

Choose: A process needs ordered steps, error handling, branching, or a human approval.

03

Avoid: One event just invokes one target with no state. Use EventBridge.

04

Trap: Watch for exam signals like single-action trigger, simple event routing.

05

Fact: Standard workflows are exactly-once and run up to one year. Express workflows are at-least-once and run up to five minutes.

06

Fact: Retry and Catch handle errors. Parallel runs branches concurrently; Map iterates over a dataset.

07

Fact: Human approval uses the wait-for-callback (.waitForTaskToken) integration pattern.

// PRACTICE QUESTIONS

Ready to test your AWS Step Functions knowledge?

5 practice questions cover AWS Step Functions.

Start Practice →