AWS Step Function是否可以取决于并发Lambda完成?

问题描述

我正在尝试找到一种方法,让父级 Lambda函数调用多个并发的参数化 Child Lambda函数,并具有另一个 Final Lambda一旦所有 Child Lambda函数完成,函数便会执行。

目标是 Child 函数将数据写入S3,而 Final 函数将数据从S3导入数据库

使用步进功能可以吗?如果是这样,怎么办?有更好的方法解决这个问题吗?

解决方法

是的,可以使用步进功能。您将需要在状态机中使用Map state

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