Skip to content

/AWS1/CL_GDYINSTANCEDETAILS

Contains information about the details of an instance.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_availabilityzone TYPE /AWS1/GDYSTRING /AWS1/GDYSTRING

The Availability Zone of the EC2 instance.

io_iaminstanceprofile TYPE REF TO /AWS1/CL_GDYIAMINSTANCEPROFILE /AWS1/CL_GDYIAMINSTANCEPROFILE

The profile information of the EC2 instance.

iv_imagedescription TYPE /AWS1/GDYSTRING /AWS1/GDYSTRING

The image description of the EC2 instance.

iv_imageid TYPE /AWS1/GDYSTRING /AWS1/GDYSTRING

The image ID of the EC2 instance.

iv_instanceid TYPE /AWS1/GDYSTRING /AWS1/GDYSTRING

The ID of the EC2 instance.

iv_instancestate TYPE /AWS1/GDYSTRING /AWS1/GDYSTRING

The state of the EC2 instance.

iv_instancetype TYPE /AWS1/GDYSTRING /AWS1/GDYSTRING

The type of the EC2 instance.

iv_outpostarn TYPE /AWS1/GDYSTRING /AWS1/GDYSTRING

The Amazon Resource Name (ARN) of the Amazon Web Services Outpost. Only applicable to Amazon Web Services Outposts instances.

iv_launchtime TYPE /AWS1/GDYSTRING /AWS1/GDYSTRING

The launch time of the EC2 instance.

it_networkinterfaces TYPE /AWS1/CL_GDYNETWORKINTERFACE=>TT_NETWORKINTERFACES TT_NETWORKINTERFACES

The elastic network interface information of the EC2 instance.

iv_platform TYPE /AWS1/GDYSTRING /AWS1/GDYSTRING

The platform of the EC2 instance.

it_productcodes TYPE /AWS1/CL_GDYPRODUCTCODE=>TT_PRODUCTCODES TT_PRODUCTCODES

The product code of the EC2 instance.

it_tags TYPE /AWS1/CL_GDYTAG=>TT_TAGS TT_TAGS

The tags of the EC2 instance.


Queryable Attributes

AvailabilityZone

The Availability Zone of the EC2 instance.

Accessible with the following methods

Method Description
GET_AVAILABILITYZONE() Getter for AVAILABILITYZONE, with configurable default
ASK_AVAILABILITYZONE() Getter for AVAILABILITYZONE w/ exceptions if field has no va
HAS_AVAILABILITYZONE() Determine if AVAILABILITYZONE has a value

IamInstanceProfile

The profile information of the EC2 instance.

Accessible with the following methods

Method Description
GET_IAMINSTANCEPROFILE() Getter for IAMINSTANCEPROFILE

ImageDescription

The image description of the EC2 instance.

Accessible with the following methods

Method Description
GET_IMAGEDESCRIPTION() Getter for IMAGEDESCRIPTION, with configurable default
ASK_IMAGEDESCRIPTION() Getter for IMAGEDESCRIPTION w/ exceptions if field has no va
HAS_IMAGEDESCRIPTION() Determine if IMAGEDESCRIPTION has a value

ImageId

The image ID of the EC2 instance.

Accessible with the following methods

Method Description
GET_IMAGEID() Getter for IMAGEID, with configurable default
ASK_IMAGEID() Getter for IMAGEID w/ exceptions if field has no value
HAS_IMAGEID() Determine if IMAGEID has a value

InstanceId

The ID of the EC2 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

InstanceState

The state of the EC2 instance.

Accessible with the following methods

Method Description
GET_INSTANCESTATE() Getter for INSTANCESTATE, with configurable default
ASK_INSTANCESTATE() Getter for INSTANCESTATE w/ exceptions if field has no value
HAS_INSTANCESTATE() Determine if INSTANCESTATE has a value

InstanceType

The type of the EC2 instance.

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

OutpostArn

The Amazon Resource Name (ARN) of the Amazon Web Services Outpost. Only applicable to Amazon Web Services Outposts instances.

Accessible with the following methods

Method Description
GET_OUTPOSTARN() Getter for OUTPOSTARN, with configurable default
ASK_OUTPOSTARN() Getter for OUTPOSTARN w/ exceptions if field has no value
HAS_OUTPOSTARN() Determine if OUTPOSTARN has a value

LaunchTime

The launch time of the EC2 instance.

Accessible with the following methods

Method Description
GET_LAUNCHTIME() Getter for LAUNCHTIME, with configurable default
ASK_LAUNCHTIME() Getter for LAUNCHTIME w/ exceptions if field has no value
HAS_LAUNCHTIME() Determine if LAUNCHTIME has a value

NetworkInterfaces

The elastic network interface information of the EC2 instance.

Accessible with the following methods

Method Description
GET_NETWORKINTERFACES() Getter for NETWORKINTERFACES, with configurable default
ASK_NETWORKINTERFACES() Getter for NETWORKINTERFACES w/ exceptions if field has no v
HAS_NETWORKINTERFACES() Determine if NETWORKINTERFACES has a value

Platform

The platform of the EC2 instance.

Accessible with the following methods

Method Description
GET_PLATFORM() Getter for PLATFORM, with configurable default
ASK_PLATFORM() Getter for PLATFORM w/ exceptions if field has no value
HAS_PLATFORM() Determine if PLATFORM has a value

ProductCodes

The product code of the EC2 instance.

Accessible with the following methods

Method Description
GET_PRODUCTCODES() Getter for PRODUCTCODES, with configurable default
ASK_PRODUCTCODES() Getter for PRODUCTCODES w/ exceptions if field has no value
HAS_PRODUCTCODES() Determine if PRODUCTCODES has a value

Tags

The tags of the EC2 instance.

Accessible with the following methods

Method Description
GET_TAGS() Getter for TAGS, with configurable default
ASK_TAGS() Getter for TAGS w/ exceptions if field has no value
HAS_TAGS() Determine if TAGS has a value