Class: Aws::Route53RecoveryControlConfig::Types::GatingRuleUpdate
- Inherits:
-
Struct
- Object
- Struct
- Aws::Route53RecoveryControlConfig::Types::GatingRuleUpdate
- Defined in:
- gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/types.rb
Overview
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
-
#name ⇒ String
The name for the gating rule.
-
#safety_rule_arn ⇒ String
The Amazon Resource Name (ARN) of the gating rule.
-
#wait_period_ms ⇒ Integer
An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail.
Instance Attribute Details
#name ⇒ String
The name for the gating rule. You can use any non-white space character in the name.
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_arn ⇒ String
The Amazon Resource Name (ARN) of the gating rule.
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_ms ⇒ Integer
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.
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 |