SafetyRuleState class
Input properties used for looking up and filtering SafetyRule resources.
Constructors
-
SafetyRuleState({Input<
String?> ? arn, Input<List< ? assertedControls, Input<String> ?>String?> ? controlPanelArn, Input<List< ? gatingControls, Input<String> ?>String?> ? name, Input<SafetyRuleRuleConfig?> ? ruleConfig, Input<String?> ? status, Input<Map< ? tags, Input<String, String> ?>Map< ? tagsAll, Input<String, String> ?>List< ? targetControls, Input<String> ?>int?> ? waitPeriodMs}) -
Creates a new SafetyRuleState.
arnARN of the safety rule.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.statusStatus of the safety rule.PENDINGwhen it is being created/updated,PENDING_DELETIONwhen it is being deleted, andDEPLOYEDotherwise.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.tagsAllA map of tags assigned to the resource, including those inherited from the providerdefaultTagsconfiguration block.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 -
SafetyRuleState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
arn
→ Input<
String?> ? -
ARN of the safety rule.
final
-
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
-
status
→ Input<
String?> ? -
Status of the safety rule.
PENDINGwhen it is being created/updated,PENDING_DELETIONwhen it is being deleted, andDEPLOYEDotherwise.final -
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 -
A map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.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