Skip to content
11 changes: 10 additions & 1 deletion samcli/lib/generated_sample_events/event-mapping.json
Original file line number Diff line number Diff line change
Expand Up @@ -992,7 +992,16 @@
"error": {
"filename": "StepFunctionsError",
"help": "Generates an AWS StepFunctions Error Event",
"tags": {}
"tags": {
"error": {
"type": "string",
"default": "ErrorName"
},
"cause": {
"type": "string",
"default": "This is the cause of the error."
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
{}
{
"Error": "{{{error}}}",
"Cause": "{{{cause}}}"
}