Class: Aws::Route53RecoveryControlConfig::Types::Rule
- Inherits:
-
Struct
- Object
- Struct
- Aws::Route53RecoveryControlConfig::Types::Rule
- Defined in:
- gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/types.rb
Overview
A safety rule. A safety rule can be an assertion rule or a gating rule.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#assertion ⇒ Types::AssertionRule
An assertion rule enforces that, when a routing control state is changed, the criteria set by the rule configuration is met.
-
#gating ⇒ Types::GatingRule
A gating rule verifies that a gating routing control or set of gating routing controls, evaluates as true, based on a rule configuration that you specify, which allows a set of routing control state changes to complete.
Instance Attribute Details
#assertion ⇒ Types::AssertionRule
An assertion rule enforces that, when a routing control state is changed, the criteria set by the rule configuration is met. Otherwise, the change to the routing control state 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.
1175 1176 1177 1178 1179 1180 |
# File 'gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/types.rb', line 1175 class Rule < Struct.new( :assertion, :gating) SENSITIVE = [] include Aws::Structure end |
#gating ⇒ Types::GatingRule
A gating rule verifies that a gating routing control or set of gating routing controls, evaluates as true, based on a rule configuration that you specify, which allows a set of routing control state changes to complete.
For example, if you specify one gating routing control and you set the Type in the rule configuration to OR, that indicates that you must set the gating routing control to On for the rule to evaluate as true; that is, for the gating control "switch" to be "On". When you do that, then you can update the routing control states for the target routing controls that you specify in the gating rule.
1175 1176 1177 1178 1179 1180 |
# File 'gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/types.rb', line 1175 class Rule < Struct.new( :assertion, :gating) SENSITIVE = [] include Aws::Structure end |