Skip to content

/AWS1/CL_EC2GETCONSOLEOUTRSLT

GetConsoleOutputResult

CONSTRUCTOR

IMPORTING

Optional arguments:

IV_INSTANCEID TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The ID of the instance.

IV_OUTPUT TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The console output, base64-encoded. If you are using a command line tool, the tool decodes the output for you.

IV_TIMESTAMP TYPE /AWS1/EC2DATETIME /AWS1/EC2DATETIME

The time at which the output was last updated.


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

Output

The console output, base64-encoded. If you are using a command line tool, the tool decodes the output for you.

Accessible with the following methods

Method Description
GET_OUTPUT() Getter for OUTPUT, with configurable default
ASK_OUTPUT() Getter for OUTPUT w/ exceptions if field has no value
HAS_OUTPUT() Determine if OUTPUT has a value

Timestamp

The time at which the output was last updated.

Accessible with the following methods

Method Description
GET_TIMESTAMP() Getter for TIMESTAMP, with configurable default
ASK_TIMESTAMP() Getter for TIMESTAMP w/ exceptions if field has no value
HAS_TIMESTAMP() Determine if TIMESTAMP has a value