AWS - Serverless Architecture
What will be the output of this Step Functions state machine if the input is
{"numbers": [1,2,3]}? It uses a Map state to multiply each number by 2.{
"StartAt": "MultiplyMap",
"States": {
"MultiplyMap": {
"Type": "Map",
"ItemsPath": "$.numbers",
"Iterator": {
"StartAt": "Multiply",
"States": {
"Multiply": {
"Type": "Task",
"Resource": "arn:aws:lambda:region:account:function:multiplyByTwo",
"End": true
}
}
},
"End": true
}
}
}