Interface CfnAnalyzer.FilterProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnAnalyzer.FilterProperty.Jsii$Proxy
Enclosing class:
CfnAnalyzer

@Stability(Stable) public static interface CfnAnalyzer.FilterProperty extends software.amazon.jsii.JsiiSerializable
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 .

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.accessanalyzer.*;
 FilterProperty filterProperty = FilterProperty.builder()
         .property("property")
         // the properties below are optional
         .contains(List.of("contains"))
         .eq(List.of("eq"))
         .exists(false)
         .neq(List.of("neq"))
         .build();
 
  • 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()
      Returns:
      a CfnAnalyzer.FilterProperty.Builder of CfnAnalyzer.FilterProperty