AutomationRuleArgs class

The set of arguments for AutomationRule. The set of arguments for AutomationRule.

Constructors

AutomationRuleArgs({required Input<List<AutomationRuleAction>> actions, required Input<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<String, String>?>? tags})
Creates a new AutomationRuleArgs. actions A block that specifies one or more actions to update finding fields if a finding matches the conditions specified in Criteria. Documented below. criteria A block that specifies a set of ASFF finding field attributes and corresponding expected values that Security Hub uses to filter findings. Documented below. description The description of the rule. isTerminal Specifies whether a rule is the last to be applied with respect to a finding that matches the rule criteria. Defaults to false. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. ruleName The name of the rule. ruleOrder 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. ruleStatus Whether the rule is active after it is created. tags Optional.
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
tags → Input<Map<String, String>?>?
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