← API reference
CANONICAL TYPE REFERENCE

TaskDefinitionState

A reusable task definition template with custom outcome options

Unique identifier

nameString!

Definition name

Optional description

Available outcome options

createdAtString!

Creation timestamp (ISO8601)

updatedAtString!

Last update timestamp (ISO8601)

View exact SDL
"""A reusable task definition template with custom outcome options"""
type TaskDefinitionState @iac_resource(name: "task_definition") @iac_ops(create: "createTaskDefinition", read: "getTaskDefinition", update: "updateTaskDefinition", delete: "deleteTaskDefinition") {
  """Unique identifier"""
  id: TaskDefinitionID! @iac_identity(assignedBy: SERVER) @iac_computed
  """Definition name"""
  name: String!
  """Optional description"""
  description: String
  """Available outcome options"""
  options: [TaskDefinitionOption!]!
  """Creation timestamp (ISO8601)"""
  createdAt: String! @iac_computed
  """Last update timestamp (ISO8601)"""
  updatedAt: String! @iac_computed
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.