【发布时间】:2020-08-01 13:26:18
【问题描述】:
我有一个输出以下内容的任务状态:
"batch": {
"batch": "size",
"currentTimestamp": 1596205376
},
地图状态输出一个数组:
"batch": [
{
"batch": "product-batch-0",
"currentTimestamp": 1596205376
},
{
"batch": "product-batch-1",
"currentTimestamp": 1596205376
}
]
我想将它们组合起来,以便地图状态之后的状态输入是这样的:
"batch": [
{
"batch": "Size",
"currentTimestamp": 1596205376
},
{
"batch": "product-batch-22",
"currentTimestamp": 1596205376
},
{
"batch": "product-batch-8",
"currentTimestamp": 1596205376
}
]
这是否可以使用 aws step 函数中可用的输入/输出处理?我希望将它们包含在一个数组中,以便稍后在状态机中以其他映射状态一起处理它们。
【问题讨论】:
标签: amazon-web-services aws-lambda aws-step-functions