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

GraphQueryAggregate

    A flat aggregation over the anchor node set: buckets nodes by the groupBy fields and computes the requested metrics per bucket. Supported only for resource anchors, and not combinable with traversal.

    Properties

    • groupBy array[string] required
      Queryable node fields to bucket by, in nesting order. A resource that does not carry one of these fields — including one whose stored value is empty — is in no bucket at all.
    • metrics array[GraphAggregateMetric] required
      Metrics computed per bucket.
    • op enum required
      The metric operation.
      Values: count
    • alias string required
      The key under which this metric appears in each returned bucket’s metrics map.

      The infrastructure as code platform for any cloud.