Skip to content

/AWS1/CL_EC2HOST

Describes the properties of the Dedicated Host.

CONSTRUCTOR

IMPORTING

Optional arguments:

IV_AUTOPLACEMENT TYPE /AWS1/EC2AUTOPLACEMENT /AWS1/EC2AUTOPLACEMENT

Whether auto-placement is on or off.

IV_AVAILABILITYZONE TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The Availability Zone of the Dedicated Host.

IO_AVAILABLECAPACITY TYPE REF TO /AWS1/CL_EC2AVAILABLECAPACITY /AWS1/CL_EC2AVAILABLECAPACITY

Information about the instances running on the Dedicated Host.

IV_CLIENTTOKEN TYPE /AWS1/EC2STRING /AWS1/EC2STRING

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.

IV_HOSTID TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The ID of the Dedicated Host.

IO_HOSTPROPERTIES TYPE REF TO /AWS1/CL_EC2HOSTPROPERTIES /AWS1/CL_EC2HOSTPROPERTIES

The hardware specifications of the Dedicated Host.

IV_HOSTRESERVATIONID TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The reservation ID of the Dedicated Host. This returns a null response if the Dedicated Host doesn't have an associated reservation.

IT_INSTANCES TYPE /AWS1/CL_EC2HOSTINSTANCE=>TT_HOSTINSTANCELIST TT_HOSTINSTANCELIST

The IDs and instance type that are currently running on the Dedicated Host.

IV_STATE TYPE /AWS1/EC2ALLOCATIONSTATE /AWS1/EC2ALLOCATIONSTATE

The Dedicated Host's state.

IV_ALLOCATIONTIME TYPE /AWS1/EC2DATETIME /AWS1/EC2DATETIME

The time that the Dedicated Host was allocated.

IV_RELEASETIME TYPE /AWS1/EC2DATETIME /AWS1/EC2DATETIME

The time that the Dedicated Host was released.

IT_TAGS TYPE /AWS1/CL_EC2TAG=>TT_TAGLIST TT_TAGLIST

Any tags assigned to the Dedicated Host.

IV_HOSTRECOVERY TYPE /AWS1/EC2HOSTRECOVERY /AWS1/EC2HOSTRECOVERY

Indicates whether host recovery is enabled or disabled for the Dedicated Host.

IV_ALLOWSMULTIPLEINSTTYPES TYPE /AWS1/EC2ALWSMULTIPLEINSTTYPES /AWS1/EC2ALWSMULTIPLEINSTTYPES

Indicates whether the Dedicated Host supports multiple instance types of the same instance family. If the value is on, the Dedicated Host supports multiple instance types in the instance family. If the value is off, the Dedicated Host supports a single instance type only.

IV_OWNERID TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The ID of the Amazon Web Services account that owns the Dedicated Host.

IV_AVAILABILITYZONEID TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The ID of the Availability Zone in which the Dedicated Host is allocated.

IV_MEMBEROFSVCLNKRESRCGROUP TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

Indicates whether the Dedicated Host is in a host resource group. If memberOfServiceLinkedResourceGroup is true, the host is in a host resource group; otherwise, it is not.

IV_OUTPOSTARN TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The Amazon Resource Name (ARN) of the Amazon Web Services Outpost on which the Dedicated Host is allocated.

IV_HOSTMAINTENANCE TYPE /AWS1/EC2HOSTMAINTENANCE /AWS1/EC2HOSTMAINTENANCE

Indicates whether host maintenance is enabled or disabled for the Dedicated Host.

IV_ASSETID TYPE /AWS1/EC2ASSETID /AWS1/EC2ASSETID

The ID of the Outpost hardware asset on which the Dedicated Host is allocated.


Queryable Attributes

AutoPlacement

Whether auto-placement is on or off.

Accessible with the following methods

Method Description
GET_AUTOPLACEMENT() Getter for AUTOPLACEMENT, with configurable default
ASK_AUTOPLACEMENT() Getter for AUTOPLACEMENT w/ exceptions if field has no value
HAS_AUTOPLACEMENT() Determine if AUTOPLACEMENT has a value

AvailabilityZone

The Availability Zone of the Dedicated Host.

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

AvailableCapacity

Information about the instances running on the Dedicated Host.

Accessible with the following methods

Method Description
GET_AVAILABLECAPACITY() Getter for AVAILABLECAPACITY

ClientToken

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.

Accessible with the following methods

Method Description
GET_CLIENTTOKEN() Getter for CLIENTTOKEN, with configurable default
ASK_CLIENTTOKEN() Getter for CLIENTTOKEN w/ exceptions if field has no value
HAS_CLIENTTOKEN() Determine if CLIENTTOKEN has a value

HostId

The ID of the Dedicated Host.

Accessible with the following methods

Method Description
GET_HOSTID() Getter for HOSTID, with configurable default
ASK_HOSTID() Getter for HOSTID w/ exceptions if field has no value
HAS_HOSTID() Determine if HOSTID has a value

HostProperties

The hardware specifications of the Dedicated Host.

Accessible with the following methods

Method Description
GET_HOSTPROPERTIES() Getter for HOSTPROPERTIES

HostReservationId

The reservation ID of the Dedicated Host. This returns a null response if the Dedicated Host doesn't have an associated reservation.

Accessible with the following methods

Method Description
GET_HOSTRESERVATIONID() Getter for HOSTRESERVATIONID, with configurable default
ASK_HOSTRESERVATIONID() Getter for HOSTRESERVATIONID w/ exceptions if field has no v
HAS_HOSTRESERVATIONID() Determine if HOSTRESERVATIONID has a value

Instances

The IDs and instance type that are currently running on the Dedicated Host.

Accessible with the following methods

Method Description
GET_INSTANCES() Getter for INSTANCES, with configurable default
ASK_INSTANCES() Getter for INSTANCES w/ exceptions if field has no value
HAS_INSTANCES() Determine if INSTANCES has a value

State

The Dedicated Host's state.

Accessible with the following methods

Method Description
GET_STATE() Getter for STATE, with configurable default
ASK_STATE() Getter for STATE w/ exceptions if field has no value
HAS_STATE() Determine if STATE has a value

AllocationTime

The time that the Dedicated Host was allocated.

Accessible with the following methods

Method Description
GET_ALLOCATIONTIME() Getter for ALLOCATIONTIME, with configurable default
ASK_ALLOCATIONTIME() Getter for ALLOCATIONTIME w/ exceptions if field has no valu
HAS_ALLOCATIONTIME() Determine if ALLOCATIONTIME has a value

ReleaseTime

The time that the Dedicated Host was released.

Accessible with the following methods

Method Description
GET_RELEASETIME() Getter for RELEASETIME, with configurable default
ASK_RELEASETIME() Getter for RELEASETIME w/ exceptions if field has no value
HAS_RELEASETIME() Determine if RELEASETIME has a value

Tags

Any tags assigned to the Dedicated Host.

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

HostRecovery

Indicates whether host recovery is enabled or disabled for the Dedicated Host.

Accessible with the following methods

Method Description
GET_HOSTRECOVERY() Getter for HOSTRECOVERY, with configurable default
ASK_HOSTRECOVERY() Getter for HOSTRECOVERY w/ exceptions if field has no value
HAS_HOSTRECOVERY() Determine if HOSTRECOVERY has a value

AllowsMultipleInstanceTypes

Indicates whether the Dedicated Host supports multiple instance types of the same instance family. If the value is on, the Dedicated Host supports multiple instance types in the instance family. If the value is off, the Dedicated Host supports a single instance type only.

Accessible with the following methods

Method Description
GET_ALLOWSMULTIPLEINSTTYPES() Getter for ALLOWSMULTIPLEINSTANCETYPES, with configurable de
ASK_ALLOWSMULTIPLEINSTTYPES() Getter for ALLOWSMULTIPLEINSTANCETYPES w/ exceptions if fiel
HAS_ALLOWSMULTIPLEINSTTYPES() Determine if ALLOWSMULTIPLEINSTANCETYPES has a value

OwnerId

The ID of the Amazon Web Services account that owns the Dedicated Host.

Accessible with the following methods

Method Description
GET_OWNERID() Getter for OWNERID, with configurable default
ASK_OWNERID() Getter for OWNERID w/ exceptions if field has no value
HAS_OWNERID() Determine if OWNERID has a value

AvailabilityZoneId

The ID of the Availability Zone in which the Dedicated Host is allocated.

Accessible with the following methods

Method Description
GET_AVAILABILITYZONEID() Getter for AVAILABILITYZONEID, with configurable default
ASK_AVAILABILITYZONEID() Getter for AVAILABILITYZONEID w/ exceptions if field has no
HAS_AVAILABILITYZONEID() Determine if AVAILABILITYZONEID has a value

MemberOfServiceLinkedResourceGroup

Indicates whether the Dedicated Host is in a host resource group. If memberOfServiceLinkedResourceGroup is true, the host is in a host resource group; otherwise, it is not.

Accessible with the following methods

Method Description
GET_MEMBEROFSVCLNKRESRCGROUP() Getter for MEMBEROFSVCLNKRESOURCEGROUP, with configurable de
ASK_MEMBEROFSVCLNKRESRCGROUP() Getter for MEMBEROFSVCLNKRESOURCEGROUP w/ exceptions if fiel
HAS_MEMBEROFSVCLNKRESRCGROUP() Determine if MEMBEROFSVCLNKRESOURCEGROUP has a value

OutpostArn

The Amazon Resource Name (ARN) of the Amazon Web Services Outpost on which the Dedicated Host is allocated.

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

HostMaintenance

Indicates whether host maintenance is enabled or disabled for the Dedicated Host.

Accessible with the following methods

Method Description
GET_HOSTMAINTENANCE() Getter for HOSTMAINTENANCE, with configurable default
ASK_HOSTMAINTENANCE() Getter for HOSTMAINTENANCE w/ exceptions if field has no val
HAS_HOSTMAINTENANCE() Determine if HOSTMAINTENANCE has a value

AssetId

The ID of the Outpost hardware asset on which the Dedicated Host is allocated.

Accessible with the following methods

Method Description
GET_ASSETID() Getter for ASSETID, with configurable default
ASK_ASSETID() Getter for ASSETID w/ exceptions if field has no value
HAS_ASSETID() Determine if ASSETID 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_HOSTLIST

TYPES TT_HOSTLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_EC2HOST WITH DEFAULT KEY
.