Step Function When to use Iterator pattern and Map State

0

if we want to "iterator" to list, Map State supports concurrency and we set it to 1 then when to use the iterator pattern? https://docs.aws.amazon.com/step-functions/latest/dg/tutorial-create-iterate-pattern-section.html

The iterator pattern will be beneficial for long-running tasks, if we check lambda execution time, gracefully shutdown it, and resume the execution by checking flag in choice state.

Sushant
asked 9 months ago681 views
1 Answer
0

Hi, this article will give you all details about how to best use iterator pattern with Step Functions when you have a list of tasks to execute in sequence: https://www.pluralsight.com/resources/blog/cloud/processing-an-arbitrary-number-of-jobs-with-aws-step-functions

Hope it helps!

Didier

profile pictureAWS
EXPERT
answered 9 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions