/AWS1/CL_EC2CAPACITYBLOCK¶
Reserve powerful GPU instances on a future date to support your short duration machine learning (ML) workloads. Instances that run inside a Capacity Block are automatically placed close together inside Amazon EC2 UltraClusters, for low-latency, petabit-scale, non-blocking networking.
You can also reserve Amazon EC2 UltraServers. UltraServers connect multiple EC2 instances using a low-latency, high-bandwidth accelerator interconnect (NeuronLink). They are built to tackle very large-scale AI/ML workloads that require significant processing power. For more information, see Amazon EC2 UltraServers.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_capacityblockid TYPE /AWS1/EC2CAPACITYBLOCKID /AWS1/EC2CAPACITYBLOCKID¶
The ID of the Capacity Block.
iv_ultraservertype TYPE /AWS1/EC2STRING /AWS1/EC2STRING¶
The EC2 UltraServer type of the Capacity Block.
iv_availabilityzone TYPE /AWS1/EC2STRING /AWS1/EC2STRING¶
The Availability Zone of the Capacity Block.
iv_availabilityzoneid TYPE /AWS1/EC2STRING /AWS1/EC2STRING¶
The Availability Zone ID of the Capacity Block.
it_capacityreservationids TYPE /AWS1/CL_EC2CAPRESERVATIONID00=>TT_CAPACITYRESERVATIONIDSET TT_CAPACITYRESERVATIONIDSET¶
The ID of the Capacity Reservation.
iv_startdate TYPE /AWS1/EC2MILLISECONDDATETIME /AWS1/EC2MILLISECONDDATETIME¶
The date and time at which the Capacity Block was started.
iv_enddate TYPE /AWS1/EC2MILLISECONDDATETIME /AWS1/EC2MILLISECONDDATETIME¶
The date and time at which the Capacity Block expires. When a Capacity Block expires, all instances in the Capacity Block are terminated.
iv_createdate TYPE /AWS1/EC2MILLISECONDDATETIME /AWS1/EC2MILLISECONDDATETIME¶
The date and time at which the Capacity Block was created.
iv_state TYPE /AWS1/EC2CAPBLOCKRESOURCESTATE /AWS1/EC2CAPBLOCKRESOURCESTATE¶
The state of the Capacity Block.
it_tags TYPE /AWS1/CL_EC2TAG=>TT_TAGLIST TT_TAGLIST¶
The tags assigned to the Capacity Block.
Queryable Attributes¶
CapacityBlockId¶
The ID of the Capacity Block.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CAPACITYBLOCKID() |
Getter for CAPACITYBLOCKID, with configurable default |
ASK_CAPACITYBLOCKID() |
Getter for CAPACITYBLOCKID w/ exceptions if field has no val |
HAS_CAPACITYBLOCKID() |
Determine if CAPACITYBLOCKID has a value |
UltraserverType¶
The EC2 UltraServer type of the Capacity Block.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ULTRASERVERTYPE() |
Getter for ULTRASERVERTYPE, with configurable default |
ASK_ULTRASERVERTYPE() |
Getter for ULTRASERVERTYPE w/ exceptions if field has no val |
HAS_ULTRASERVERTYPE() |
Determine if ULTRASERVERTYPE has a value |
AvailabilityZone¶
The Availability Zone of the Capacity Block.
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 |
AvailabilityZoneId¶
The Availability Zone ID of the Capacity Block.
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 |
CapacityReservationIds¶
The ID of the Capacity Reservation.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CAPACITYRESERVATIONIDS() |
Getter for CAPACITYRESERVATIONIDS, with configurable default |
ASK_CAPACITYRESERVATIONIDS() |
Getter for CAPACITYRESERVATIONIDS w/ exceptions if field has |
HAS_CAPACITYRESERVATIONIDS() |
Determine if CAPACITYRESERVATIONIDS has a value |
StartDate¶
The date and time at which the Capacity Block was started.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_STARTDATE() |
Getter for STARTDATE, with configurable default |
ASK_STARTDATE() |
Getter for STARTDATE w/ exceptions if field has no value |
HAS_STARTDATE() |
Determine if STARTDATE has a value |
EndDate¶
The date and time at which the Capacity Block expires. When a Capacity Block expires, all instances in the Capacity Block are terminated.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ENDDATE() |
Getter for ENDDATE, with configurable default |
ASK_ENDDATE() |
Getter for ENDDATE w/ exceptions if field has no value |
HAS_ENDDATE() |
Determine if ENDDATE has a value |
CreateDate¶
The date and time at which the Capacity Block was created.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CREATEDATE() |
Getter for CREATEDATE, with configurable default |
ASK_CREATEDATE() |
Getter for CREATEDATE w/ exceptions if field has no value |
HAS_CREATEDATE() |
Determine if CREATEDATE has a value |
State¶
The state of the Capacity Block.
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 |
Tags¶
The tags assigned to the Capacity Block.
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 |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_CAPACITYBLOCKSET¶
TYPES TT_CAPACITYBLOCKSET TYPE STANDARD TABLE OF REF TO /AWS1/CL_EC2CAPACITYBLOCK WITH DEFAULT KEY
.