SafetyRuleArgs class
The set of arguments for SafetyRule. The set of arguments for SafetyRule.
Constructors
-
SafetyRuleArgs({Input<
List< ? assertedControls, required Input<String> ?>String> controlPanelArn, Input<List< ? gatingControls, Input<String> ?>String?> ? name, required Input<SafetyRuleRuleConfig> ruleConfig, Input<Map< ? tags, Input<String, String> ?>List< ? targetControls, required Input<String> ?>int> waitPeriodMs}) -
Creates a new SafetyRuleArgs.
assertedControlsRouting controls that are part of transactions that are evaluated to determine if a request to change a routing control state is allowed.controlPanelArnARN of the control panel in which this safety rule will reside.gatingControlsGating controls for the new gating rule. That is, routing controls that are evaluated by the rule configuration that you specify.nameName describing the safety rule.ruleConfigConfiguration block for safety rule criteria. See below.tagsA map of tags to assign to the resource. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.targetControlsRouting controls that can only be set or unset if the specifiedruleConfigevaluates to true for the specifiedgatingControls.waitPeriodMsEvaluation 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
-
A map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration 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
ruleConfigevaluates to true for the specifiedgatingControls.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