1

I am attempting to find a way to have a Parent Lambda function invoke multiple concurrent parameterized Child Lambda functions, and have another Final Lambda function execute once all of the Child Lambda functions have completed.

The goal is for the Child functions to write data to S3, and for the Final function to import the data from S3 to a database.

Is this possible using Step Functions? If so, how? Is there a better way to approach this?

2
  • 1
    Does this answer your question? Parallel States Merge the output in Step Function Commented Sep 29, 2020 at 3:35
  • That's close, except I need to be able to dynamically invoke multiple concurrent Child functions using the output of the Parent task, rather than explicitly defining each Child function. Commented Sep 29, 2020 at 12:49

1 Answer 1

2

Yes, it is possible with Step functions. You will need to use a Map state in your state machine.

Here is an AWS Blog post about the Map state that gives examples of it's usage when it was first announced.

Sign up to request clarification or add additional context in comments.

1 Comment

This looks like it's probably what I need, going to look into it further, thanks!

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.