我试图弄清楚如何将多个输入传递给我的 ARN。但是,我似乎无法做到这一点。
以下是我的机器规格
{
"StartAt": "DemoStateFunction",
"Version": "1.0",
"States": {
"DemoStateFunction": {
"Type": "Task",
"Resource": "ARN-Demo-Function",
"InputPath": "$.demostate1",
"Next": "DemoStateFunction2"
},
"DemoStateFunction2": {
"Type": "Task",
"Resource": "ARN-Demo-Function",
"InputPath": "$.demostate2",
"End": true
}
}
}
这是我的输入
{
"demostate1": {
"data": "john",
},
"demostate2": {
"data": "doe"
}
}
执行此任务时。它成功检索了我的 demostate1 数据,但它似乎看不到 demostate2,就像我在“TaskStateEntered”步骤中看到的那样。