Skip to content

/AWS1/CL_AZSPRACTICERUNCONF

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.

CONSTRUCTOR

IMPORTING

Required arguments:

IT_OUTCOMEALARMS TYPE /AWS1/CL_AZSCONTROLCONDITION=>TT_CONTROLCONDITIONS TT_CONTROLCONDITIONS

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.

Optional arguments:

IT_BLOCKINGALARMS TYPE /AWS1/CL_AZSCONTROLCONDITION=>TT_CONTROLCONDITIONS TT_CONTROLCONDITIONS

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.

IT_BLOCKEDWINDOWS TYPE /AWS1/CL_AZSBLOCKEDWINDOWS_W=>TT_BLOCKEDWINDOWS TT_BLOCKEDWINDOWS

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.

IT_BLOCKEDDATES TYPE /AWS1/CL_AZSBLOCKEDDATES_W=>TT_BLOCKEDDATES TT_BLOCKEDDATES

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.


Queryable Attributes

blockingAlarms

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.

Accessible with the following methods

Method Description
GET_BLOCKINGALARMS() Getter for BLOCKINGALARMS, with configurable default
ASK_BLOCKINGALARMS() Getter for BLOCKINGALARMS w/ exceptions if field has no valu
HAS_BLOCKINGALARMS() Determine if BLOCKINGALARMS has a value

outcomeAlarms

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.

Accessible with the following methods

Method Description
GET_OUTCOMEALARMS() Getter for OUTCOMEALARMS, with configurable default
ASK_OUTCOMEALARMS() Getter for OUTCOMEALARMS w/ exceptions if field has no value
HAS_OUTCOMEALARMS() Determine if OUTCOMEALARMS has a value

blockedWindows

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.

Accessible with the following methods

Method Description
GET_BLOCKEDWINDOWS() Getter for BLOCKEDWINDOWS, with configurable default
ASK_BLOCKEDWINDOWS() Getter for BLOCKEDWINDOWS w/ exceptions if field has no valu
HAS_BLOCKEDWINDOWS() Determine if BLOCKEDWINDOWS has a value

blockedDates

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.

Accessible with the following methods

Method Description
GET_BLOCKEDDATES() Getter for BLOCKEDDATES, with configurable default
ASK_BLOCKEDDATES() Getter for BLOCKEDDATES w/ exceptions if field has no value
HAS_BLOCKEDDATES() Determine if BLOCKEDDATES has a value