{ "Comment": "Exhibits duplicate state error. State names MUST be unique within the scope of the whole state machine.", "StartAt": "Map", "States": { "Map": { "Type": "Map", "Next": "Final State", "InputPath": "$.input", "ItemsPath": "$.items", "MaxConcurrency": 0, "Iterator": { "StartAt": "Final State", "States": { "Final State": { "Type": "Wait", "Seconds": 20, "End": true } } }, "ResultPathAsDynamicValue": "$.result" }, "Final State": { "Type": "Pass", "End": true } } }