Class: Aws::Route53RecoveryControlConfig::Types::GatingRuleUpdate

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 GatingRuleUpdate data as a hash:

{
  name: "__stringMin1Max64PatternS", # required
  safety_rule_arn: "__stringMin1Max256PatternAZaZ09", # required
  wait_period_ms: 1, # required
}

Update to a gating rule. You can update the name or the evaluation period (wait period). If you don't specify one of the items to update, the item is unchanged.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name for the gating rule. You can use any non-white space character in the name.

Returns:

  • (String)


852
853
854
855
856
857
858
# File 'gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/types.rb', line 852

class GatingRuleUpdate < Struct.new(
  :name,
  :safety_rule_arn,
  :wait_period_ms)
  SENSITIVE = []
  include Aws::Structure
end

#safety_rule_arnString

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

Returns:

  • (String)


852
853
854
855
856
857
858
# File 'gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/types.rb', line 852

class GatingRuleUpdate < Struct.new(
  :name,
  :safety_rule_arn,
  :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)


852
853
854
855
856
857
858
# File 'gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/types.rb', line 852

class GatingRuleUpdate < Struct.new(
  :name,
  :safety_rule_arn,
  :wait_period_ms)
  SENSITIVE = []
  include Aws::Structure
end