Class: Aws::ARCZonalShift::Types::PracticeRunConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::ARCZonalShift::Types::PracticeRunConfiguration
- Defined in:
- gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift/types.rb
Overview
A practice run configuration for a resource includes the Amazon CloudWatch alarms that you've specified for a practice run, as well as any blocked dates or blocked windows for the practice run. When a resource has a practice run configuration, Route 53 ARC shifts traffic for the resource weekly for practice runs.
Practice runs are required for zonal autoshift. The zonal shifts that Route 53 ARC starts for practice runs help you to ensure that shifting away traffic from an Availability Zone during an autoshift is safe for your application.
You can update or delete a practice run configuration. Before you delete a practice run configuration, you must disable zonal autoshift for the resource. A practice run configuration is required when zonal autoshift is enabled.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#blocked_dates ⇒ Array<String>
An array of one or more dates that you can specify when Amazon Web Services does not start practice runs for a resource.
-
#blocked_windows ⇒ Array<String>
An array of one or more windows of days and times that you can block Route 53 ARC from starting practice runs for a resource.
-
#blocking_alarms ⇒ Array<Types::ControlCondition>
The blocking alarm for practice runs is an optional alarm that you can specify that blocks practice runs when the alarm is in an
ALARM
state. -
#outcome_alarms ⇒ Array<Types::ControlCondition>
The outcome alarm for practice runs is an alarm that you specify that ends a practice run when the alarm is in an
ALARM
state.
Instance Attribute Details
#blocked_dates ⇒ Array<String>
An array of one or more dates that you can specify when Amazon Web Services does not start practice runs for a resource.
Specify blocked dates, in UTC, in the format YYYY-MM-DD
, separated
by spaces.
730 731 732 733 734 735 736 737 |
# File 'gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift/types.rb', line 730 class PracticeRunConfiguration < Struct.new( :blocked_dates, :blocked_windows, :blocking_alarms, :outcome_alarms) SENSITIVE = [] include Aws::Structure end |
#blocked_windows ⇒ Array<String>
An array of one or more windows of days and times that you can block Route 53 ARC from starting practice runs for a resource.
Specify the blocked windows in UTC, using the format
DAY:HH:MM-DAY:HH:MM
, separated by spaces. For example,
MON:18:30-MON:19:30 TUE:18:30-TUE:19:30
.
730 731 732 733 734 735 736 737 |
# File 'gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift/types.rb', line 730 class PracticeRunConfiguration < Struct.new( :blocked_dates, :blocked_windows, :blocking_alarms, :outcome_alarms) SENSITIVE = [] include Aws::Structure end |
#blocking_alarms ⇒ Array<Types::ControlCondition>
The blocking alarm for practice runs is an optional alarm that you
can specify that blocks practice runs when the alarm is in an
ALARM
state.
730 731 732 733 734 735 736 737 |
# File 'gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift/types.rb', line 730 class PracticeRunConfiguration < Struct.new( :blocked_dates, :blocked_windows, :blocking_alarms, :outcome_alarms) SENSITIVE = [] include Aws::Structure end |
#outcome_alarms ⇒ Array<Types::ControlCondition>
The outcome alarm for practice runs is an alarm that you specify
that ends a practice run when the alarm is in an ALARM
state.
730 731 732 733 734 735 736 737 |
# File 'gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift/types.rb', line 730 class PracticeRunConfiguration < Struct.new( :blocked_dates, :blocked_windows, :blocking_alarms, :outcome_alarms) SENSITIVE = [] include Aws::Structure end |