{ "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)" } } }