Skip to content

/AWS1/CL_SGMINSTGROUPSCAMET

Metadata information about scaling operations for an instance group.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_instancecount TYPE /AWS1/SGMINSTANCECOUNT /AWS1/SGMINSTANCECOUNT

The current number of instances in the group.

iv_targetcount TYPE /AWS1/SGMTARGETCOUNT /AWS1/SGMTARGETCOUNT

The desired number of instances for the group after scaling.

iv_failuremessage TYPE /AWS1/SGMSTRING00 /AWS1/SGMSTRING00

An error message describing why the scaling operation failed, if applicable.


Queryable Attributes

InstanceCount

The current number of instances in the group.

Accessible with the following methods

Method Description
GET_INSTANCECOUNT() Getter for INSTANCECOUNT, with configurable default
ASK_INSTANCECOUNT() Getter for INSTANCECOUNT w/ exceptions if field has no value
HAS_INSTANCECOUNT() Determine if INSTANCECOUNT has a value

TargetCount

The desired number of instances for the group after scaling.

Accessible with the following methods

Method Description
GET_TARGETCOUNT() Getter for TARGETCOUNT, with configurable default
ASK_TARGETCOUNT() Getter for TARGETCOUNT w/ exceptions if field has no value
HAS_TARGETCOUNT() Determine if TARGETCOUNT has a value

FailureMessage

An error message describing why the scaling operation failed, if applicable.

Accessible with the following methods

Method Description
GET_FAILUREMESSAGE() Getter for FAILUREMESSAGE, with configurable default
ASK_FAILUREMESSAGE() Getter for FAILUREMESSAGE w/ exceptions if field has no valu
HAS_FAILUREMESSAGE() Determine if FAILUREMESSAGE has a value