GraphQueryAnchor
Selects the anchor (zero-hop) node set. ‘match’ and ‘query’ are mutually exclusive, and supplying neither selects every node of the given type that the caller can see.
Properties
nodeTypeenum requiredThe node type to select.Values:resource,stack- Structured predicate over node attributes. Omit it, and ‘query’ with it, to select every node of the given type.
- ↳
typestring optionalExact match on the node’s resource type token — the same value reported as GraphNode.type — for example ‘aws:s3/bucket:Bucket’. Resource nodes only: setting match.type on a stack selection is rejected. - Typed comparisons over queryable node fields, keyed by field name as listed in the graph schema (for example ‘provider_version’ or ’name’). A stack anchor’s ’name’ takes the org-free ‘project/stack’ spelling; the ‘stack:
/ / ’ form reported as a stack node’s id, and the ‘org/project/stack’ form used elsewhere in the API, are both rejected. querystring optionalA resource search query string in the Pulumi resource search syntax, as an alternative to ‘match’. Only valid for the ‘resource’ node type.limitinteger optionalMaximum number of anchor nodes to resolve, up to the engine’s anchor cap. When more match, the result is reported as meta.resultMode ’truncated’. Omitting this, or naming a value above the cap, leaves the bound to the engine — and a query that also traverses is then rejected rather than truncated.