Interface CfnAnalyzer.FilterProperty

All Superinterfaces:
All Known Implementing Classes:
Enclosing class:

@Stability(Stable) public static interface CfnAnalyzer.FilterProperty extends
The criteria that defines the rule.

To learn about filter keys that you can use to create an archive rule, see filter keys in the User Guide .


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 FilterProperty filterProperty = FilterProperty.builder()
         // the properties below are optional
  • Method Details

    • getProperty

      @Stability(Stable) @NotNull String getProperty()
      The property used to define the criteria in the filter for the rule.
    • getContains

      @Stability(Stable) @Nullable default List<String> getContains()
      A "contains" condition to match for the rule.
    • getEq

      @Stability(Stable) @Nullable default List<String> getEq()
      An "equals" condition to match for the rule.
    • getExists

      @Stability(Stable) @Nullable default Object getExists()
      An "exists" condition to match for the rule.
    • getNeq

      @Stability(Stable) @Nullable default List<String> getNeq()
      A "not equal" condition to match for the rule.
    • builder

      @Stability(Stable) static CfnAnalyzer.FilterProperty.Builder builder()
      a CfnAnalyzer.FilterProperty.Builder of CfnAnalyzer.FilterProperty