I need an AWS Step function with multiple steps as follows
Start >>
Step 1 [ Lambda ] >>
Step 2 [ Lambda that calls itself multiple times and send out a SNS message when done ] >>
Step 3 [ needs to be triggered only when the SNS message is received ] >>
End
How do I get Step 3 to wait for the SNS message ?