Skip to main content

InstanceDependency

An input dependency consumed by an instance, keyed by the field handle that receives it.

Dependencies are resources wired into this instance's bundle slots — either through a blueprint connection, a per-instance remote-reference override, or the environment's default for the resource type.

type InstanceDependency {
field: String!
resource: Resource!
required: Boolean!
resourceType: ResourceType!
source: InstanceDependencySource!
}

Fields

InstanceDependency.field ● String! non-null scalar {#field}

The input handle name that consumes this resource (e.g., database).

InstanceDependency.resource ● Resource! non-null object {#resource}

The resource containing the actual data.

InstanceDependency.required ● Boolean! non-null scalar {#required}

Whether this dependency must be connected before the instance can be deployed.

InstanceDependency.resourceType ● ResourceType! non-null object {#resource-type}

The resource type (artifact definition) this dependency slot accepts.

InstanceDependency.source ● InstanceDependencySource! non-null union {#source}

Where this slot's wire-in comes from. Inspect the concrete type — Connection, RemoteReference, or EnvironmentDefault — to distinguish.

Member Of

Instance object