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: "__string", # 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.

Returns:

  • (String)


821
822
823
824
825
826
827
# File 'gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/types.rb', line 821

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)


821
822
823
824
825
826
827
# File 'gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/types.rb', line 821

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)


821
822
823
824
825
826
827
# File 'gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/types.rb', line 821

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