Skip to content

/AWS1/CL_AZSCONTROLCONDITION

A control condition is an alarm that you specify for a practice run. When you configure practice runs with zonal autoshift for a resource, you specify Amazon CloudWatch alarms, which you create in CloudWatch to use with the practice run. The alarms that you specify are an outcome alarm, to monitor application health during practice runs and, optionally, a blocking alarm, to block practice runs from starting or to interrupt a practice run in progress.

Control condition alarms do not apply for autoshifts.

For more information, see Considerations when you configure zonal autoshift in the Amazon Route 53 Application Recovery Controller Developer Guide.

CONSTRUCTOR

IMPORTING

Required arguments:

IV_TYPE TYPE /AWS1/AZSCONTROLCONDITIONTYPE /AWS1/AZSCONTROLCONDITIONTYPE

The type of alarm specified for a practice run. You can only specify Amazon CloudWatch alarms for practice runs, so the only valid value is CLOUDWATCH.

IV_ALARMIDENTIFIER TYPE /AWS1/AZSRESOURCEARN /AWS1/AZSRESOURCEARN

The Amazon Resource Name (ARN) for an Amazon CloudWatch alarm that you specify as a control condition for a practice run.


Queryable Attributes

type

The type of alarm specified for a practice run. You can only specify Amazon CloudWatch alarms for practice runs, so the only valid value is CLOUDWATCH.

Accessible with the following methods

Method Description
GET_TYPE() Getter for TYPE, with configurable default
ASK_TYPE() Getter for TYPE w/ exceptions if field has no value
HAS_TYPE() Determine if TYPE has a value

alarmIdentifier

The Amazon Resource Name (ARN) for an Amazon CloudWatch alarm that you specify as a control condition for a practice run.

Accessible with the following methods

Method Description
GET_ALARMIDENTIFIER() Getter for ALARMIDENTIFIER, with configurable default
ASK_ALARMIDENTIFIER() Getter for ALARMIDENTIFIER w/ exceptions if field has no val
HAS_ALARMIDENTIFIER() Determine if ALARMIDENTIFIER has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_CONTROLCONDITIONS

TYPES TT_CONTROLCONDITIONS TYPE STANDARD TABLE OF REF TO /AWS1/CL_AZSCONTROLCONDITION WITH DEFAULT KEY
.