Skip to main content
Pulumi logo Pulumi logo
  1. Docs
  2. Reference
  3. REST API Docs
  4. Schema
  5. GraphSchemaNodeType

GraphSchemaNodeType

    One selectable node type and the field vocabularies it supports. The three field lists are different sets, so a field appearing in one does not imply the others; fieldValues carries the values of those selectable fields whose value set is closed, and identity states the spellings a caller reads back and writes.

    Properties

    • name enum required
      The node type name, usable as anchor.nodeType.
      Values: resource, stack
    • selectableFields array[string] required
      Field names usable in anchor match.fields predicates for this node type. This is the widest of the three vocabularies.
    • projectableFields array[string] required
      Field names usable in return.fields projections, and — for node types that carry a document — in a traverse step’s target.match. Naming a field outside this list returns a 400.
    • groupByFields array[string] required
      Field names usable in aggregate.groupBy for this node type. Naming a field outside this list returns a 400. Empty for node types that cannot be aggregated.
    • identity string required
      How a node of this type is identified in a response and how a selector names one. For stacks the two spellings differ, and the field lists cannot say so: they name fields, never formats.
    • fieldValues map[string]array required
      For the subset of selectableFields whose values are a fixed, closed set defined in code, the values themselves, keyed by field name. Absence from this map means no fixed set is advertised, not that the field has none; where such a field also appears in groupByFields, aggregate on it to discover its values.

      The infrastructure as code platform for any cloud.