Skip to content

/AWS1/CL_EC2HOSTPROPERTIES

Describes the properties of a Dedicated Host.

CONSTRUCTOR

IMPORTING

Optional arguments:

IV_CORES TYPE /AWS1/EC2INTEGER /AWS1/EC2INTEGER

The number of cores on the Dedicated Host.

IV_INSTANCETYPE TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The instance type supported by the Dedicated Host. For example, m5.large. If the host supports multiple instance types, no instanceType is returned.

IV_INSTANCEFAMILY TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The instance family supported by the Dedicated Host. For example, m5.

IV_SOCKETS TYPE /AWS1/EC2INTEGER /AWS1/EC2INTEGER

The number of sockets on the Dedicated Host.

IV_TOTALVCPUS TYPE /AWS1/EC2INTEGER /AWS1/EC2INTEGER

The total number of vCPUs on the Dedicated Host.


Queryable Attributes

Cores

The number of cores on the Dedicated Host.

Accessible with the following methods

Method Description
GET_CORES() Getter for CORES, with configurable default
ASK_CORES() Getter for CORES w/ exceptions if field has no value
HAS_CORES() Determine if CORES has a value

InstanceType

The instance type supported by the Dedicated Host. For example, m5.large. If the host supports multiple instance types, no instanceType is returned.

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

InstanceFamily

The instance family supported by the Dedicated Host. For example, m5.

Accessible with the following methods

Method Description
GET_INSTANCEFAMILY() Getter for INSTANCEFAMILY, with configurable default
ASK_INSTANCEFAMILY() Getter for INSTANCEFAMILY w/ exceptions if field has no valu
HAS_INSTANCEFAMILY() Determine if INSTANCEFAMILY has a value

Sockets

The number of sockets on the Dedicated Host.

Accessible with the following methods

Method Description
GET_SOCKETS() Getter for SOCKETS, with configurable default
ASK_SOCKETS() Getter for SOCKETS w/ exceptions if field has no value
HAS_SOCKETS() Determine if SOCKETS has a value

TotalVCpus

The total number of vCPUs on the Dedicated Host.

Accessible with the following methods

Method Description
GET_TOTALVCPUS() Getter for TOTALVCPUS, with configurable default
ASK_TOTALVCPUS() Getter for TOTALVCPUS w/ exceptions if field has no value
HAS_TOTALVCPUS() Determine if TOTALVCPUS has a value