Skip to main content

InstanceResource

An output resource produced by an instance, keyed by the field handle that produced it.

Resources are the outputs an instance publishes after a successful deployment (e.g., a database connection string, a Kubernetes cluster endpoint). Other instances can consume these resources via connections.

type InstanceResource {
field: String!
resource: Resource!
required: Boolean!
resourceType: ResourceType!
}

Fields​

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

The output handle name that produced this resource (e.g., authentication).

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

The resource containing the actual data.

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

Whether the bundle guarantees this output is produced on every successful deployment.

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

The resource type (artifact definition) this output produces.

Member Of​

Instance object