Interface CfnAutomationRuleV2Props

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnAutomationRuleV2Props.Jsii$Proxy

@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)", date="2025-07-16T11:43:22.843Z") @Stability(Stable) public interface CfnAutomationRuleV2Props extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnAutomationRuleV2.

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.*;
 CfnAutomationRuleV2Props cfnAutomationRuleV2Props = CfnAutomationRuleV2Props.builder()
         .actions(List.of(AutomationRulesActionV2Property.builder()
                 .type("type")
                 // the properties below are optional
                 .externalIntegrationConfiguration(ExternalIntegrationConfigurationProperty.builder()
                         .connectorArn("connectorArn")
                         .build())
                 .findingFieldsUpdate(AutomationRulesFindingFieldsUpdateV2Property.builder()
                         .comment("comment")
                         .severityId(123)
                         .statusId(123)
                         .build())
                 .build()))
         .criteria(CriteriaProperty.builder()
                 .ocsfFindingCriteria(OcsfFindingFiltersProperty.builder()
                         .compositeFilters(List.of(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()))
                         .compositeOperator("compositeOperator")
                         .build())
                 .build())
         .description("description")
         .ruleName("ruleName")
         .ruleOrder(123)
         // the properties below are optional
         .ruleStatus("ruleStatus")
         .tags(Map.of(
                 "tagsKey", "tags"))
         .build();
 

See Also: