Class: Aws::Route53RecoveryControlConfig::Types::AssertionRule
- Inherits:
-
Struct
- Object
- Struct
- Aws::Route53RecoveryControlConfig::Types::AssertionRule
- Defined in:
- gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/types.rb
Overview
An assertion rule enforces that, when you change a routing control state, that the criteria that you set in the rule configuration is met. Otherwise, the change to the routing control is not accepted. For example, the criteria might be that at least one routing control state is On after the transaction so that traffic continues to flow to at least one cell for the application. This ensures that you avoid a fail-open scenario.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#asserted_controls ⇒ Array<String>
The routing controls that are part of transactions that are evaluated to determine if a request to change a routing control state is allowed.
-
#control_panel_arn ⇒ String
The Amazon Resource Name (ARN) of the control panel.
-
#name ⇒ String
Name of the assertion rule.
-
#owner ⇒ String
The Amazon Web Services account ID of the assertion rule owner.
-
#rule_config ⇒ Types::RuleConfig
The criteria that you set for specific assertion routing controls (AssertedControls) that designate how many routing control states must be ON as the result of a transaction.
-
#safety_rule_arn ⇒ String
The Amazon Resource Name (ARN) of the assertion rule.
-
#status ⇒ String
The deployment status of an assertion rule.
-
#wait_period_ms ⇒ Integer
An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail.
Instance Attribute Details
#asserted_controls ⇒ Array<String>
The routing controls that are part of transactions that are evaluated to determine if a request to change a routing control state is allowed. For example, you might include three routing controls, one for each of three Amazon Web Services Regions.
83 84 85 86 87 88 89 90 91 92 93 94 |
# File 'gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/types.rb', line 83 class AssertionRule < Struct.new( :asserted_controls, :control_panel_arn, :name, :rule_config, :safety_rule_arn, :status, :wait_period_ms, :owner) SENSITIVE = [] include Aws::Structure end |
#control_panel_arn ⇒ String
The Amazon Resource Name (ARN) of the control panel.
83 84 85 86 87 88 89 90 91 92 93 94 |
# File 'gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/types.rb', line 83 class AssertionRule < Struct.new( :asserted_controls, :control_panel_arn, :name, :rule_config, :safety_rule_arn, :status, :wait_period_ms, :owner) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
Name of the assertion rule. You can use any non-white space character in the name.
83 84 85 86 87 88 89 90 91 92 93 94 |
# File 'gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/types.rb', line 83 class AssertionRule < Struct.new( :asserted_controls, :control_panel_arn, :name, :rule_config, :safety_rule_arn, :status, :wait_period_ms, :owner) SENSITIVE = [] include Aws::Structure end |
#owner ⇒ String
The Amazon Web Services account ID of the assertion rule owner.
83 84 85 86 87 88 89 90 91 92 93 94 |
# File 'gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/types.rb', line 83 class AssertionRule < Struct.new( :asserted_controls, :control_panel_arn, :name, :rule_config, :safety_rule_arn, :status, :wait_period_ms, :owner) SENSITIVE = [] include Aws::Structure end |
#rule_config ⇒ Types::RuleConfig
The criteria that you set for specific assertion routing controls (AssertedControls) that designate how many routing control states must be ON as the result of a transaction. For example, if you have three assertion routing controls, you might specify ATLEAST 2 for your rule configuration. This means that at least two assertion routing control states must be ON, so that at least two Amazon Web Services Regions have traffic flowing to them.
83 84 85 86 87 88 89 90 91 92 93 94 |
# File 'gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/types.rb', line 83 class AssertionRule < Struct.new( :asserted_controls, :control_panel_arn, :name, :rule_config, :safety_rule_arn, :status, :wait_period_ms, :owner) SENSITIVE = [] include Aws::Structure end |
#safety_rule_arn ⇒ String
The Amazon Resource Name (ARN) of the assertion rule.
83 84 85 86 87 88 89 90 91 92 93 94 |
# File 'gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/types.rb', line 83 class AssertionRule < Struct.new( :asserted_controls, :control_panel_arn, :name, :rule_config, :safety_rule_arn, :status, :wait_period_ms, :owner) SENSITIVE = [] include Aws::Structure end |
#status ⇒ String
The deployment status of an assertion rule. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.
83 84 85 86 87 88 89 90 91 92 93 94 |
# File 'gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/types.rb', line 83 class AssertionRule < Struct.new( :asserted_controls, :control_panel_arn, :name, :rule_config, :safety_rule_arn, :status, :wait_period_ms, :owner) SENSITIVE = [] include Aws::Structure end |
#wait_period_ms ⇒ Integer
An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent "flapping" of state. The wait period is 5000 ms by default, but you can choose a custom value.
83 84 85 86 87 88 89 90 91 92 93 94 |
# File 'gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/types.rb', line 83 class AssertionRule < Struct.new( :asserted_controls, :control_panel_arn, :name, :rule_config, :safety_rule_arn, :status, :wait_period_ms, :owner) SENSITIVE = [] include Aws::Structure end |