Interface CfnAutomationRuleV2.CompositeFilterProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAutomationRuleV2.CompositeFilterProperty.Jsii$Proxy
- Enclosing class:
CfnAutomationRuleV2
@Stability(Stable)
public static interface CfnAutomationRuleV2.CompositeFilterProperty
extends software.amazon.jsii.JsiiSerializable
Enables the creation of filtering criteria for security findings.
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.securityhub.*;
CompositeFilterProperty compositeFilterProperty = CompositeFilterProperty.builder()
.booleanFilters(List.of(OcsfBooleanFilterProperty.builder()
.fieldName("fieldName")
.filter(BooleanFilterProperty.builder()
.value(false)
.build())
.build()))
.dateFilters(List.of(OcsfDateFilterProperty.builder()
.fieldName("fieldName")
.filter(DateFilterProperty.builder()
.dateRange(DateRangeProperty.builder()
.unit("unit")
.value(123)
.build())
.end("end")
.start("start")
.build())
.build()))
.mapFilters(List.of(OcsfMapFilterProperty.builder()
.fieldName("fieldName")
.filter(MapFilterProperty.builder()
.comparison("comparison")
.key("key")
.value("value")
.build())
.build()))
.numberFilters(List.of(OcsfNumberFilterProperty.builder()
.fieldName("fieldName")
.filter(NumberFilterProperty.builder()
.eq(123)
.gte(123)
.lte(123)
.build())
.build()))
.operator("operator")
.stringFilters(List.of(OcsfStringFilterProperty.builder()
.fieldName("fieldName")
.filter(StringFilterProperty.builder()
.comparison("comparison")
.value("value")
.build())
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAutomationRuleV2.CompositeFilterPropertystatic final classAn implementation forCfnAutomationRuleV2.CompositeFilterProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectEnables filtering based on boolean field values.default ObjectEnables filtering based on date and timestamp fields.default ObjectEnables the creation of filtering criteria for security findings.default ObjectEnables filtering based on numerical field values.default StringThe logical operator used to combine multiple filter conditions.default ObjectEnables filtering based on string field values.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBooleanFilters
Enables filtering based on boolean field values.- See Also:
-
getDateFilters
Enables filtering based on date and timestamp fields.- See Also:
-
getMapFilters
Enables the creation of filtering criteria for security findings.- See Also:
-
getNumberFilters
Enables filtering based on numerical field values.- See Also:
-
getOperator
The logical operator used to combine multiple filter conditions.- See Also:
-
getStringFilters
Enables filtering based on string field values.- See Also:
-
builder
-