AutomationRuleArgs class
The set of arguments for AutomationRule. The set of arguments for AutomationRule.
Constructors
-
AutomationRuleArgs({required Input<
List< actions, required Input<AutomationRuleAction> >AutomationRuleCriteria> criteria, required Input<String> description, Input<bool?> ? isTerminal, Input<String?> ? region, required Input<String> ruleName, required Input<int> ruleOrder, Input<String?> ? ruleStatus, Input<Map< ? tags})String, String> ?> -
Creates a new AutomationRuleArgs.
actionsA block that specifies one or more actions to update finding fields if a finding matches the conditions specified inCriteria. Documented below.criteriaA block that specifies a set of ASFF finding field attributes and corresponding expected values that Security Hub uses to filter findings. Documented below.descriptionThe description of the rule.isTerminalSpecifies whether a rule is the last to be applied with respect to a finding that matches the rule criteria. Defaults tofalse.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.ruleNameThe name of the rule.ruleOrderAn integer ranging from 1 to 1000 that represents the order in which the rule action is applied to findings. Security Hub applies rules with lower values for this parameter first.ruleStatusWhether the rule is active after it is created.tagsOptional.const -
AutomationRuleArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
actions
→ Input<
List< AutomationRuleAction> > -
A block that specifies one or more actions to update finding fields if a finding matches the conditions specified in
Criteria. Documented below.final -
criteria
→ Input<
AutomationRuleCriteria> -
A block that specifies a set of ASFF finding field attributes and corresponding expected values that Security Hub uses to filter findings. Documented below.
final
-
description
→ Input<
String> -
The description of the rule.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
isTerminal
→ Input<
bool?> ? -
Specifies whether a rule is the last to be applied with respect to a finding that matches the rule criteria. Defaults to
false.final -
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
-
ruleName
→ Input<
String> -
The name of the rule.
final
-
ruleOrder
→ Input<
int> -
An integer ranging from 1 to 1000 that represents the order in which the rule action is applied to findings. Security Hub applies rules with lower values for this parameter first.
final
-
ruleStatus
→ Input<
String?> ? -
Whether the rule is active after it is created.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited