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

GraphSchemaEdgeType

    One traversable edge type. Every edge type the engine can walk is listed here, and a selector naming an edge type absent from this list is rejected.

    Properties

    • name string required
      The edge type name, usable in traverse[].edgeTypes.
    • from enum required
      The node type at the edge’s source.
      Values: resource, stack
    • to enum required
      The node type at the edge’s destination.
      Values: resource, stack
    • asserts string required
      What the presence of this edge asserts about the two nodes it connects, and which end is which.
    • singleHop boolean required
      Whether this edge type is walked in exactly one hop. A traverse step naming one must leave depth unset or set depth.max to 1.
    • directions array[string] required
      The traversal directions this edge type can be walked in, listed in the order ‘in’, ‘out’, ‘both’. A traverse step naming a direction absent from this list is rejected.
    • basis enum required
      How edges of this type are produced.
      Values: declared, inferred

      The infrastructure as code platform for any cloud.