AWS - Serverless Architecture
Given this Step Functions snippet, what will be the output after the
Choice state if the input is {"value": 10}?{
"StartAt": "CheckValue",
"States": {
"CheckValue": {
"Type": "Choice",
"Choices": [
{"Variable": "$.value", "NumericGreaterThan": 5, "Next": "Greater"},
{"Variable": "$.value", "NumericLessThanEquals": 5, "Next": "LessOrEqual"}
],
"Default": "DefaultState"
},
"Greater": {"Type": "Pass", "End": true},
"LessOrEqual": {"Type": "Pass", "End": true},
"DefaultState": {"Type": "Pass", "End": true}
}
}