1 2 3 4 5 6 7 8 9 10 11
{ "Comment": "Contrived example with a Fail state to show it satisfies the terminal state requirement", "StartAt": "Hello", "States": { "Hello": { "Type": "Fail", "CausePath": "$.path", "ErrorPath": "States.Format('{}{}', $.field1, $field2)" } } }