AWS::ARCZonalShift::ZonalAutoshiftConfiguration PracticeRunConfiguration - AWS CloudFormation

AWS::ARCZonalShift::ZonalAutoshiftConfiguration PracticeRunConfiguration

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 configuation, Route 53 ARC starts weekly zonal shifts for the resource, to shift traffic away from an Availability Zone. Weekly practice runs help you to make sure that your application can continue to operate normally with the loss of one Availability Zone.

You can update or delete a practice run configuration. When you delete a practice run configuration, zonal autoshift is disabled for the resource. A practice run configuration is required when zonal autoshift is enabled.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "BlockedDates" : [ String, ... ], "BlockedWindows" : [ String, ... ], "BlockingAlarms" : [ ControlCondition, ... ], "OutcomeAlarms" : [ ControlCondition, ... ] }

Properties

BlockedDates

An array of one or more dates that you can specify when AWS does not start practice runs for a resource. Dates are in UTC.

Specify blocked dates in the format YYYY-MM-DD, separated by spaces.

Required: No

Type: Array of String

Minimum: 10 | 0

Maximum: 10 | 15

Update requires: No interruption

BlockedWindows

An array of one or more days and times that you can specify when Route 53 ARC does not start practice runs for a resource. Days and times are in UTC.

Specify blocked windows in 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.

Required: No

Type: Array of String

Minimum: 19 | 0

Maximum: 19 | 15

Update requires: No interruption

BlockingAlarms

An optional alarm that you can specify that blocks practice runs when the alarm is in an ALARM state. When a blocking alarm goes into an ALARM state, it prevents practice runs from being started, and ends practice runs that are in progress.

Required: No

Type: Array of ControlCondition

Minimum: 1

Maximum: 1

Update requires: No interruption

OutcomeAlarms

The alarm that you specify to monitor the health of your application during practice runs. When the outcome alarm goes into an ALARM state, the practice run is ended and the outcome is set to FAILED.

Required: Yes

Type: Array of ControlCondition

Minimum: 1

Maximum: 1

Update requires: No interruption