SafetyRuleArgs class

The set of arguments for SafetyRule. The set of arguments for SafetyRule.

Constructors

SafetyRuleArgs({Input<List<String>?>? assertedControls, required Input<String> controlPanelArn, Input<List<String>?>? gatingControls, Input<String?>? name, required Input<SafetyRuleRuleConfig> ruleConfig, Input<Map<String, String>?>? tags, Input<List<String>?>? targetControls, required Input<int> waitPeriodMs})
Creates a new SafetyRuleArgs. assertedControls Routing controls that are part of transactions that are evaluated to determine if a request to change a routing control state is allowed. controlPanelArn ARN of the control panel in which this safety rule will reside. gatingControls Gating controls for the new gating rule. That is, routing controls that are evaluated by the rule configuration that you specify. name Name describing the safety rule. ruleConfig Configuration block for safety rule criteria. See below. tags A map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. targetControls Routing controls that can only be set or unset if the specified ruleConfig evaluates to true for the specified gatingControls. waitPeriodMs Evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail.
const
SafetyRuleArgs.fromMap(Map<String, dynamic> map)
factory

Properties

assertedControls → Input<List<String>?>?
Routing controls that are part of transactions that are evaluated to determine if a request to change a routing control state is allowed.
final
controlPanelArn → Input<String>
ARN of the control panel in which this safety rule will reside.
final
gatingControls → Input<List<String>?>?
Gating controls for the new gating rule. That is, routing controls that are evaluated by the rule configuration that you specify.
final
hashCode → int
The hash code for this object.
no setterinherited
name → Input<String?>?
Name describing the safety rule.
final
ruleConfig → Input<SafetyRuleRuleConfig>
Configuration block for safety rule criteria. See below.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tags → Input<Map<String, String>?>?
A map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
final
targetControls → Input<List<String>?>?
Routing controls that can only be set or unset if the specified ruleConfig evaluates to true for the specified gatingControls.
final
waitPeriodMs → Input<int>
Evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail.
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