Class: Aws::Route53RecoveryControlConfig::Types::NewAssertionRule

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

Overview

Note:

When making an API call, you may pass NewAssertionRule data as a hash:

{
  asserted_controls: ["__stringMin1Max256PatternAZaZ09"], # required
  control_panel_arn: "__stringMin1Max256PatternAZaZ09", # required
  name: "__stringMin1Max64PatternS", # required
  rule_config: { # required
    inverted: false, # required
    threshold: 1, # required
    type: "ATLEAST", # required, accepts ATLEAST, AND, OR
  },
  wait_period_ms: 1, # required
}

A new assertion rule for a control panel.

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>)


1188
1189
1190
1191
1192
1193
1194
1195
1196
# File 'gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/types.rb', line 1188

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

#control_panel_arnString

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

Returns:

  • (String)


1188
1189
1190
1191
1192
1193
1194
1195
1196
# File 'gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/types.rb', line 1188

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

#nameString

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

Returns:

  • (String)


1188
1189
1190
1191
1192
1193
1194
1195
1196
# File 'gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/types.rb', line 1188

class NewAssertionRule < Struct.new(
  :asserted_controls,
  :control_panel_arn,
  :name,
  :rule_config,
  :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 control states must be ON as the result of a transaction. For example, if you have three assertion controls, you might specify ATLEAST 2for your rule configuration. This means that at least two assertion controls must be ON, so that at least two Amazon Web Services Regions have traffic flowing to them.

Returns:



1188
1189
1190
1191
1192
1193
1194
1195
1196
# File 'gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/types.rb', line 1188

class NewAssertionRule < Struct.new(
  :asserted_controls,
  :control_panel_arn,
  :name,
  :rule_config,
  :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)


1188
1189
1190
1191
1192
1193
1194
1195
1196
# File 'gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/types.rb', line 1188

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