Skip to content

/AWS1/CL_R5AASSOCIATEDALARM

An Amazon CloudWatch alarm associated with a Region switch plan. These alarms can be used to trigger automatic execution of the plan.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_resourceidentifier TYPE /AWS1/R5ASTRING /AWS1/R5ASTRING

The resource identifier for alarms that you associate with a plan.

iv_alarmtype TYPE /AWS1/R5AALARMTYPE /AWS1/R5AALARMTYPE

The alarm type for an associated alarm. An associated CloudWatch alarm can be an application health alarm or a trigger alarm.

Optional arguments:

iv_crossaccountrole TYPE /AWS1/R5AIAMROLEARN /AWS1/R5AIAMROLEARN

The cross account role for the configuration.

iv_externalid TYPE /AWS1/R5ASTRING /AWS1/R5ASTRING

The external ID (secret key) for the configuration.


Queryable Attributes

crossAccountRole

The cross account role for the configuration.

Accessible with the following methods

Method Description
GET_CROSSACCOUNTROLE() Getter for CROSSACCOUNTROLE, with configurable default
ASK_CROSSACCOUNTROLE() Getter for CROSSACCOUNTROLE w/ exceptions if field has no va
HAS_CROSSACCOUNTROLE() Determine if CROSSACCOUNTROLE has a value

externalId

The external ID (secret key) for the configuration.

Accessible with the following methods

Method Description
GET_EXTERNALID() Getter for EXTERNALID, with configurable default
ASK_EXTERNALID() Getter for EXTERNALID w/ exceptions if field has no value
HAS_EXTERNALID() Determine if EXTERNALID has a value

resourceIdentifier

The resource identifier for alarms that you associate with a plan.

Accessible with the following methods

Method Description
GET_RESOURCEIDENTIFIER() Getter for RESOURCEIDENTIFIER, with configurable default
ASK_RESOURCEIDENTIFIER() Getter for RESOURCEIDENTIFIER w/ exceptions if field has no
HAS_RESOURCEIDENTIFIER() Determine if RESOURCEIDENTIFIER has a value

alarmType

The alarm type for an associated alarm. An associated CloudWatch alarm can be an application health alarm or a trigger alarm.

Accessible with the following methods

Method Description
GET_ALARMTYPE() Getter for ALARMTYPE, with configurable default
ASK_ALARMTYPE() Getter for ALARMTYPE w/ exceptions if field has no value
HAS_ALARMTYPE() Determine if ALARMTYPE 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_ASSOCIATEDALARMMAP

TYPES TT_ASSOCIATEDALARMMAP TYPE HASHED TABLE OF /AWS1/CL_R5AASSOCIATEDALARM=>TS_ASSOCIATEDALARMMAP_MAPROW WITH UNIQUE KEY key
.

TS_ASSOCIATEDALARMMAP_MAPROW

TYPES: BEGIN OF TS_ASSOCIATEDALARMMAP_MAPROW,
  key TYPE /AWS1/R5ASTRING,
  value TYPE REF TO /AWS1/CL_R5AASSOCIATEDALARM,
END OF TS_ASSOCIATEDALARMMAP_MAPROW.