Interface IGraphFilter.Jsii$Default

    • Method Detail

      • getAllNodes

        @Stability(Experimental)
        @Nullable
        default Boolean getAllNodes()
        (experimental) Indicates that all nodes will be filtered, rather than just Resource and CfnResource nodes.

        By enabling this, all Stages, Stacks, and structural construct boundaries will be filtered as well. In general, most users intent is to operate against resources and desire to preserve structural groupings, which is common in most Cfn/Cdk based filtering where inputs are "include" lists. Defaults to value of containing IGraphFilterPlan.allNodes

        Specified by:
        getAllNodes in interface IGraphFilter
      • getEdge

        @Stability(Experimental)
        @Nullable
        default IEdgePredicate getEdge()
        (experimental) Predicate to match edges.

        Edges are evaluated after nodes are filtered.

        Specified by:
        getEdge in interface IGraphFilter
      • getInverse

        @Stability(Experimental)
        @Nullable
        default Boolean getInverse()
        (experimental) Indicates that matches will be filtered, as opposed to non-matches.

        The default follows common Javascript Array.filter precedence of preserving matches during filtering, while pruning non-matches.

        Default: false - Preserve matches, and filter out non-matches.

        Specified by:
        getInverse in interface IGraphFilter
      • getNode

        @Stability(Experimental)
        @Nullable
        default INodePredicate getNode()
        (experimental) Predicate to match nodes.
        Specified by:
        getNode in interface IGraphFilter
      • getStrategy

        @Stability(Experimental)
        @Nullable
        default FilterStrategy getStrategy()
        (experimental) Filter strategy to apply to matching nodes.

        Edges do not have a strategy, they are always pruned.

        Default: {FilterStrategy.PRUNE}

        Specified by:
        getStrategy in interface IGraphFilter