Skip to content

Instantly share code, notes, and snippets.

@amancevice
Last active August 22, 2020 20:08
Show Gist options
  • Save amancevice/c5d8d95d35c29502159ccfb547fe41d4 to your computer and use it in GitHub Desktop.
Save amancevice/c5d8d95d35c29502159ccfb547fe41d4 to your computer and use it in GitHub Desktop.
{
"Comment": "Input Routing Example",
"StartAt": "Route Input",
"States": {
"Route Input": {
"Type": "Choice",
"Default": "Step 1",
"OutputPath": "$.Input",
"Choices": [
{
"Variable": "$.StartAt",
"StringEquals": "Step 2",
"Next": "Step 2"
},
{
"Variable": "$.StartAt",
"StringEquals": "Step 3",
"Next": "Step 3"
}
]
},
"Step 1": { "Type": "Pass", "Next": "Step 2" },
"Step 2": { "Type": "Pass", "Next": "Step 3" },
"Step 3": { "Type": "Pass", "End": true }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment