AutomationRuleArgs constructor
- required Input<
List< actions,AutomationRuleAction> > - 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< ? tags,String, String> ?>
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.
Implementation
const AutomationRuleArgs({
required this.actions,
required this.criteria,
required this.description,
this.isTerminal,
this.region,
required this.ruleName,
required this.ruleOrder,
this.ruleStatus,
this.tags,
});