Class: Aws::Route53RecoveryControlConfig::Types::Rule

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#assertionTypes::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 is not accepted.



1272
1273
1274
1275
1276
1277
# File 'gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/types.rb', line 1272

class Rule < Struct.new(
  :assertion,
  :gating)
  SENSITIVE = []
  include Aws::Structure
end

#gatingTypes::GatingRule

A gating rule verifies that a set of gating controls evaluates as true, based on a rule configuration that you specify. If the gating rule evaluates to true, Amazon Route 53 Application Recovery Controller allows a set of routing control state changes to run and complete against the set of target controls.

Returns:



1272
1273
1274
1275
1276
1277
# File 'gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/types.rb', line 1272

class Rule < Struct.new(
  :assertion,
  :gating)
  SENSITIVE = []
  include Aws::Structure
end