Class CfnAutomationRuleV2.Builder
java.lang.Object
software.amazon.awscdk.services.securityhub.CfnAutomationRuleV2.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAutomationRuleV2>
- Enclosing class:
CfnAutomationRuleV2
@Stability(Stable)
public static final class CfnAutomationRuleV2.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAutomationRuleV2>
A fluent builder for
CfnAutomationRuleV2
.-
Method Summary
Modifier and TypeMethodDescriptionA list of actions to be performed when the rule criteria is met.actions
(IResolvable actions) A list of actions to be performed when the rule criteria is met.build()
static CfnAutomationRuleV2.Builder
criteria
(IResolvable criteria) The filtering type and configuration of the automation rule.criteria
(CfnAutomationRuleV2.CriteriaProperty criteria) The filtering type and configuration of the automation rule.description
(String description) A description of the V2 automation rule.The name of the V2 automation rule.The value for the rule priority.ruleStatus
(String ruleStatus) The status of the V2 automation rule.A list of key-value pairs associated with the V2 automation rule.
-
Method Details
-
create
@Stability(Stable) public static CfnAutomationRuleV2.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnAutomationRuleV2.Builder
.
-
actions
A list of actions to be performed when the rule criteria is met.- Parameters:
actions
- A list of actions to be performed when the rule criteria is met. This parameter is required.- Returns:
this
- See Also:
-
actions
A list of actions to be performed when the rule criteria is met.- Parameters:
actions
- A list of actions to be performed when the rule criteria is met. This parameter is required.- Returns:
this
- See Also:
-
criteria
The filtering type and configuration of the automation rule.- Parameters:
criteria
- The filtering type and configuration of the automation rule. This parameter is required.- Returns:
this
- See Also:
-
criteria
@Stability(Stable) public CfnAutomationRuleV2.Builder criteria(CfnAutomationRuleV2.CriteriaProperty criteria) The filtering type and configuration of the automation rule.- Parameters:
criteria
- The filtering type and configuration of the automation rule. This parameter is required.- Returns:
this
- See Also:
-
description
A description of the V2 automation rule.- Parameters:
description
- A description of the V2 automation rule. This parameter is required.- Returns:
this
- See Also:
-
ruleName
The name of the V2 automation rule.- Parameters:
ruleName
- The name of the V2 automation rule. This parameter is required.- Returns:
this
- See Also:
-
ruleOrder
The value for the rule priority.- Parameters:
ruleOrder
- The value for the rule priority. This parameter is required.- Returns:
this
- See Also:
-
ruleStatus
The status of the V2 automation rule.- Parameters:
ruleStatus
- The status of the V2 automation rule. This parameter is required.- Returns:
this
- See Also:
-
tags
A list of key-value pairs associated with the V2 automation rule.- Parameters:
tags
- A list of key-value pairs associated with the V2 automation rule. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAutomationRuleV2>
- Returns:
- a newly built instance of
CfnAutomationRuleV2
.
-