我正在尝试找到一种方法,让父级 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.