Skip to content

/AWS1/CL_ECSPLATFORMDEVICE

The devices that are available on the container instance. The only supported device type is a GPU.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_id TYPE /AWS1/ECSSTRING /AWS1/ECSSTRING

The ID for the GPUs on the container instance. The available GPU IDs can also be obtained on the container instance in the /var/lib/ecs/gpu/nvidia_gpu_info.json file.

iv_type TYPE /AWS1/ECSPLATFORMDEVICETYPE /AWS1/ECSPLATFORMDEVICETYPE

The type of device that's available on the container instance. The only supported value is GPU.


Queryable Attributes

id

The ID for the GPUs on the container instance. The available GPU IDs can also be obtained on the container instance in the /var/lib/ecs/gpu/nvidia_gpu_info.json file.

Accessible with the following methods

Method Description
GET_ID() Getter for ID, with configurable default
ASK_ID() Getter for ID w/ exceptions if field has no value
HAS_ID() Determine if ID has a value

type

The type of device that's available on the container instance. The only supported value is GPU.

Accessible with the following methods

Method Description
GET_TYPE() Getter for TYPE, with configurable default
ASK_TYPE() Getter for TYPE w/ exceptions if field has no value
HAS_TYPE() Determine if TYPE 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_PLATFORMDEVICES

TYPES TT_PLATFORMDEVICES TYPE STANDARD TABLE OF REF TO /AWS1/CL_ECSPLATFORMDEVICE WITH DEFAULT KEY
.