/AWS1/CL_EC2ACTIVEINSTANCE¶
Describes a running instance in a Spot Fleet.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_instanceid TYPE /AWS1/EC2STRING /AWS1/EC2STRING¶
The ID of the instance.
iv_instancetype TYPE /AWS1/EC2STRING /AWS1/EC2STRING¶
The instance type.
iv_spotinstancerequestid TYPE /AWS1/EC2STRING /AWS1/EC2STRING¶
The ID of the Spot Instance request.
iv_instancehealth TYPE /AWS1/EC2INSTANCEHEALTHSTATUS /AWS1/EC2INSTANCEHEALTHSTATUS¶
The health status of the instance. If the status of either the instance status check or the system status check is
impaired, the health status of the instance isunhealthy. Otherwise, the health status ishealthy.
Queryable Attributes¶
InstanceId¶
The ID of the instance.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_INSTANCEID() |
Getter for INSTANCEID, with configurable default |
ASK_INSTANCEID() |
Getter for INSTANCEID w/ exceptions if field has no value |
HAS_INSTANCEID() |
Determine if INSTANCEID has a value |
InstanceType¶
The instance type.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_INSTANCETYPE() |
Getter for INSTANCETYPE, with configurable default |
ASK_INSTANCETYPE() |
Getter for INSTANCETYPE w/ exceptions if field has no value |
HAS_INSTANCETYPE() |
Determine if INSTANCETYPE has a value |
SpotInstanceRequestId¶
The ID of the Spot Instance request.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SPOTINSTANCEREQUESTID() |
Getter for SPOTINSTANCEREQUESTID, with configurable default |
ASK_SPOTINSTANCEREQUESTID() |
Getter for SPOTINSTANCEREQUESTID w/ exceptions if field has |
HAS_SPOTINSTANCEREQUESTID() |
Determine if SPOTINSTANCEREQUESTID has a value |
InstanceHealth¶
The health status of the instance. If the status of either the instance status check or the system status check is
impaired, the health status of the instance isunhealthy. Otherwise, the health status ishealthy.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_INSTANCEHEALTH() |
Getter for INSTANCEHEALTH, with configurable default |
ASK_INSTANCEHEALTH() |
Getter for INSTANCEHEALTH w/ exceptions if field has no valu |
HAS_INSTANCEHEALTH() |
Determine if INSTANCEHEALTH 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_ACTIVEINSTANCESET¶
TYPES TT_ACTIVEINSTANCESET TYPE STANDARD TABLE OF REF TO /AWS1/CL_EC2ACTIVEINSTANCE WITH DEFAULT KEY
.