← API reference
CANONICAL TYPE REFERENCE

ExistingCapability

Read-only reference to an existing visible capability, for portable IaC assignments.

Identity of the existing capability. Lookup confers no mutation ownership.

codeString!

Exact capability code used as the lookup selector.

nameString!

Display name of the resolved capability.

View exact SDL
"""
Read-only reference to an existing visible capability, for portable IaC assignments.
"""
type ExistingCapability @iac_resource(name: "existing_capability") @iac_ops(read: "getExistingCapability") @iac_data(lookup: "getCapabilityByCode", argument: "code") {
  """
  Identity of the existing capability. Lookup confers no mutation ownership.
  """
  id: CapabilityID! @iac_identity(assignedBy: SERVER) @iac_computed @iac_ref(resource: "capability")
  """Exact capability code used as the lookup selector."""
  code: String! @iac_computed
  """Display name of the resolved capability."""
  name: String! @iac_computed
}

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