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:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnAutomationRuleV2Props
static final class
An implementation forCfnAutomationRuleV2Props
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
A list of actions to be performed when the rule criteria is met.The filtering type and configuration of the automation rule.A description of the V2 automation rule.The name of the V2 automation rule.The value for the rule priority.default String
The status of the V2 automation rule.getTags()
A list of key-value pairs associated with the V2 automation rule.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getActions
A list of actions to be performed when the rule criteria is met.- See Also:
-
getCriteria
The filtering type and configuration of the automation rule.- See Also:
-
getDescription
A description of the V2 automation rule.- See Also:
-
getRuleName
The name of the V2 automation rule.- See Also:
-
getRuleOrder
The value for the rule priority.- See Also:
-
getRuleStatus
The status of the V2 automation rule.- See Also:
-
getTags
A list of key-value pairs associated with the V2 automation rule.- See Also:
-
builder
- Returns:
- a
CfnAutomationRuleV2Props.Builder
ofCfnAutomationRuleV2Props
-