TaskFailedEventDetails

Contains details about a task failure event.

OrchestrationServerlessState MachineWorkflow

Properties

Name Type Description
resourceType object
resource object
error object
cause object
View JSON Schema on GitHub

JSON Schema

amazon-step-functions-task-failed-event-details-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-step-functions/refs/heads/main/json-schema/amazon-step-functions-task-failed-event-details-schema.json",
  "title": "TaskFailedEventDetails",
  "description": "Contains details about a task failure event.",
  "type": "object",
  "properties": {
    "resourceType": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Name"
        },
        {
          "description": "The service name of the resource in a task state."
        }
      ]
    },
    "resource": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Name"
        },
        {
          "description": "The action of the resource called by a task state."
        }
      ]
    },
    "error": {
      "allOf": [
        {
          "$ref": "#/components/schemas/SensitiveError"
        },
        {
          "description": "The error code of the failure."
        }
      ]
    },
    "cause": {
      "allOf": [
        {
          "$ref": "#/components/schemas/SensitiveCause"
        },
        {
          "description": "A more detailed explanation of the cause of the failure."
        }
      ]
    }
  },
  "required": [
    "resourceType",
    "resource"
  ]
}