Class: Aws::Route53RecoveryControlConfig::Types::AssertionRule

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/types.rb

Overview

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#asserted_controlsArray<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.

Returns:

  • (Array<String>)


74
75
76
77
78
79
80
81
82
83
84
# File 'gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/types.rb', line 74

class AssertionRule < Struct.new(
  :asserted_controls,
  :control_panel_arn,
  :name,
  :rule_config,
  :safety_rule_arn,
  :status,
  :wait_period_ms)
  SENSITIVE = []
  include Aws::Structure
end

#control_panel_arnString

The Amazon Resource Name (ARN) of the control panel.

Returns:

  • (String)


74
75
76
77
78
79
80
81
82
83
84
# File 'gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/types.rb', line 74

class AssertionRule < Struct.new(
  :asserted_controls,
  :control_panel_arn,
  :name,
  :rule_config,
  :safety_rule_arn,
  :status,
  :wait_period_ms)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

Name of the assertion rule. You can use any non-white space character in the name.

Returns:

  • (String)


74
75
76
77
78
79
80
81
82
83
84
# File 'gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/types.rb', line 74

class AssertionRule < Struct.new(
  :asserted_controls,
  :control_panel_arn,
  :name,
  :rule_config,
  :safety_rule_arn,
  :status,
  :wait_period_ms)
  SENSITIVE = []
  include Aws::Structure
end

#rule_configTypes::RuleConfig

The criteria that you set for specific assertion controls (routing controls) that designate how many controls must be enabled as the result of a transaction. For example, if you have three assertion controls, you might specify atleast 2 for your rule configuration. This means that at least two assertion controls must be enabled, so that at least two Amazon Web Services Regions are enabled.

Returns:



74
75
76
77
78
79
80
81
82
83
84
# File 'gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/types.rb', line 74

class AssertionRule < Struct.new(
  :asserted_controls,
  :control_panel_arn,
  :name,
  :rule_config,
  :safety_rule_arn,
  :status,
  :wait_period_ms)
  SENSITIVE = []
  include Aws::Structure
end

#safety_rule_arnString

The Amazon Resource Name (ARN) of the assertion rule.

Returns:

  • (String)


74
75
76
77
78
79
80
81
82
83
84
# File 'gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/types.rb', line 74

class AssertionRule < Struct.new(
  :asserted_controls,
  :control_panel_arn,
  :name,
  :rule_config,
  :safety_rule_arn,
  :status,
  :wait_period_ms)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

The deployment status of an assertion rule. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.

Returns:

  • (String)


74
75
76
77
78
79
80
81
82
83
84
# File 'gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/types.rb', line 74

class AssertionRule < Struct.new(
  :asserted_controls,
  :control_panel_arn,
  :name,
  :rule_config,
  :safety_rule_arn,
  :status,
  :wait_period_ms)
  SENSITIVE = []
  include Aws::Structure
end

#wait_period_msInteger

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.

Returns:

  • (Integer)


74
75
76
77
78
79
80
81
82
83
84
# File 'gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/types.rb', line 74

class AssertionRule < Struct.new(
  :asserted_controls,
  :control_panel_arn,
  :name,
  :rule_config,
  :safety_rule_arn,
  :status,
  :wait_period_ms)
  SENSITIVE = []
  include Aws::Structure
end