Interface CfnFindingsFilter.CriterionAdditionalPropertiesProperty

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

@Stability(Stable) public static interface CfnFindingsFilter.CriterionAdditionalPropertiesProperty extends software.amazon.jsii.JsiiSerializable
Specifies a condition that defines the property, operator, and one or more values to use in a findings filter.

A findings filter , also referred to as a filter rule , is a set of custom criteria that specifies which findings to include or exclude from the results of a query for findings. You can also configure a findings filter to suppress (automatically archive) findings that match the filter's criteria. For more information, see Filtering findings in the Amazon Macie 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.macie.*;
 CriterionAdditionalPropertiesProperty criterionAdditionalPropertiesProperty = CriterionAdditionalPropertiesProperty.builder()
         .eq(List.of("eq"))
         .gt(123)
         .gte(123)
         .lt(123)
         .lte(123)
         .neq(List.of("neq"))
         .build();
 
  • Method Details

    • getEq

      @Stability(Stable) @Nullable default List<String> getEq()
      The value for the specified property matches (equals) the specified value.

      If you specify multiple values, Amazon Macie uses OR logic to join the values.

    • getGt

      @Stability(Stable) @Nullable default Number getGt()
      The value for the specified property is greater than the specified value.
    • getGte

      @Stability(Stable) @Nullable default Number getGte()
      The value for the specified property is greater than or equal to the specified value.
    • getLt

      @Stability(Stable) @Nullable default Number getLt()
      The value for the specified property is less than the specified value.
    • getLte

      @Stability(Stable) @Nullable default Number getLte()
      The value for the specified property is less than or equal to the specified value.
    • getNeq

      @Stability(Stable) @Nullable default List<String> getNeq()
      The value for the specified property doesn't match (doesn't equal) the specified value.

      If you specify multiple values, Amazon Macie uses OR logic to join the values.

    • builder

      Returns:
      a CfnFindingsFilter.CriterionAdditionalPropertiesProperty.Builder of CfnFindingsFilter.CriterionAdditionalPropertiesProperty