/AWS1/CL_ECSCONTAINER¶
A Docker container that's part of a task.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_containerarn TYPE /AWS1/ECSSTRING /AWS1/ECSSTRING¶
The Amazon Resource Name (ARN) of the container.
iv_taskarn TYPE /AWS1/ECSSTRING /AWS1/ECSSTRING¶
The ARN of the task.
iv_name TYPE /AWS1/ECSSTRING /AWS1/ECSSTRING¶
The name of the container.
iv_image TYPE /AWS1/ECSSTRING /AWS1/ECSSTRING¶
The image used for the container.
iv_imagedigest TYPE /AWS1/ECSSTRING /AWS1/ECSSTRING¶
The container image manifest digest.
iv_runtimeid TYPE /AWS1/ECSSTRING /AWS1/ECSSTRING¶
The ID of the Docker container.
iv_laststatus TYPE /AWS1/ECSSTRING /AWS1/ECSSTRING¶
The last known status of the container.
iv_exitcode TYPE /AWS1/ECSBOXEDINTEGER /AWS1/ECSBOXEDINTEGER¶
The exit code returned from the container.
iv_reason TYPE /AWS1/ECSSTRING /AWS1/ECSSTRING¶
A short (1024 max characters) human-readable string to provide additional details about a running or stopped container.
it_networkbindings TYPE /AWS1/CL_ECSNETWORKBINDING=>TT_NETWORKBINDINGS TT_NETWORKBINDINGS¶
The network bindings associated with the container.
it_networkinterfaces TYPE /AWS1/CL_ECSNETWORKINTERFACE=>TT_NETWORKINTERFACES TT_NETWORKINTERFACES¶
The network interfaces associated with the container.
iv_healthstatus TYPE /AWS1/ECSHEALTHSTATUS /AWS1/ECSHEALTHSTATUS¶
The health status of the container. If health checks aren't configured for this container in its task definition, then it reports the health status as
UNKNOWN.
it_managedagents TYPE /AWS1/CL_ECSMANAGEDAGENT=>TT_MANAGEDAGENTS TT_MANAGEDAGENTS¶
The details of any Amazon ECS managed agents associated with the container.
iv_cpu TYPE /AWS1/ECSSTRING /AWS1/ECSSTRING¶
The number of CPU units set for the container. The value is
0if no value was specified in the container definition when the task definition was registered.
iv_memory TYPE /AWS1/ECSSTRING /AWS1/ECSSTRING¶
The hard limit (in MiB) of memory set for the container.
iv_memoryreservation TYPE /AWS1/ECSSTRING /AWS1/ECSSTRING¶
The soft limit (in MiB) of memory set for the container.
it_gpuids TYPE /AWS1/CL_ECSGPUIDS_W=>TT_GPUIDS TT_GPUIDS¶
The IDs of each GPU assigned to the container.
Queryable Attributes¶
containerArn¶
The Amazon Resource Name (ARN) of the container.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CONTAINERARN() |
Getter for CONTAINERARN, with configurable default |
ASK_CONTAINERARN() |
Getter for CONTAINERARN w/ exceptions if field has no value |
HAS_CONTAINERARN() |
Determine if CONTAINERARN has a value |
taskArn¶
The ARN of the task.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TASKARN() |
Getter for TASKARN, with configurable default |
ASK_TASKARN() |
Getter for TASKARN w/ exceptions if field has no value |
HAS_TASKARN() |
Determine if TASKARN has a value |
name¶
The name of the container.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_NAME() |
Getter for NAME, with configurable default |
ASK_NAME() |
Getter for NAME w/ exceptions if field has no value |
HAS_NAME() |
Determine if NAME has a value |
image¶
The image used for the container.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_IMAGE() |
Getter for IMAGE, with configurable default |
ASK_IMAGE() |
Getter for IMAGE w/ exceptions if field has no value |
HAS_IMAGE() |
Determine if IMAGE has a value |
imageDigest¶
The container image manifest digest.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_IMAGEDIGEST() |
Getter for IMAGEDIGEST, with configurable default |
ASK_IMAGEDIGEST() |
Getter for IMAGEDIGEST w/ exceptions if field has no value |
HAS_IMAGEDIGEST() |
Determine if IMAGEDIGEST has a value |
runtimeId¶
The ID of the Docker container.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_RUNTIMEID() |
Getter for RUNTIMEID, with configurable default |
ASK_RUNTIMEID() |
Getter for RUNTIMEID w/ exceptions if field has no value |
HAS_RUNTIMEID() |
Determine if RUNTIMEID has a value |
lastStatus¶
The last known status of the container.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_LASTSTATUS() |
Getter for LASTSTATUS, with configurable default |
ASK_LASTSTATUS() |
Getter for LASTSTATUS w/ exceptions if field has no value |
HAS_LASTSTATUS() |
Determine if LASTSTATUS has a value |
exitCode¶
The exit code returned from the container.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_EXITCODE() |
Getter for EXITCODE, with configurable default |
ASK_EXITCODE() |
Getter for EXITCODE w/ exceptions if field has no value |
HAS_EXITCODE() |
Determine if EXITCODE has a value |
reason¶
A short (1024 max characters) human-readable string to provide additional details about a running or stopped container.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_REASON() |
Getter for REASON, with configurable default |
ASK_REASON() |
Getter for REASON w/ exceptions if field has no value |
HAS_REASON() |
Determine if REASON has a value |
networkBindings¶
The network bindings associated with the container.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_NETWORKBINDINGS() |
Getter for NETWORKBINDINGS, with configurable default |
ASK_NETWORKBINDINGS() |
Getter for NETWORKBINDINGS w/ exceptions if field has no val |
HAS_NETWORKBINDINGS() |
Determine if NETWORKBINDINGS has a value |
networkInterfaces¶
The network interfaces associated with the container.
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 |
healthStatus¶
The health status of the container. If health checks aren't configured for this container in its task definition, then it reports the health status as
UNKNOWN.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_HEALTHSTATUS() |
Getter for HEALTHSTATUS, with configurable default |
ASK_HEALTHSTATUS() |
Getter for HEALTHSTATUS w/ exceptions if field has no value |
HAS_HEALTHSTATUS() |
Determine if HEALTHSTATUS has a value |
managedAgents¶
The details of any Amazon ECS managed agents associated with the container.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MANAGEDAGENTS() |
Getter for MANAGEDAGENTS, with configurable default |
ASK_MANAGEDAGENTS() |
Getter for MANAGEDAGENTS w/ exceptions if field has no value |
HAS_MANAGEDAGENTS() |
Determine if MANAGEDAGENTS has a value |
cpu¶
The number of CPU units set for the container. The value is
0if no value was specified in the container definition when the task definition was registered.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CPU() |
Getter for CPU, with configurable default |
ASK_CPU() |
Getter for CPU w/ exceptions if field has no value |
HAS_CPU() |
Determine if CPU has a value |
memory¶
The hard limit (in MiB) of memory set for the container.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MEMORY() |
Getter for MEMORY, with configurable default |
ASK_MEMORY() |
Getter for MEMORY w/ exceptions if field has no value |
HAS_MEMORY() |
Determine if MEMORY has a value |
memoryReservation¶
The soft limit (in MiB) of memory set for the container.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MEMORYRESERVATION() |
Getter for MEMORYRESERVATION, with configurable default |
ASK_MEMORYRESERVATION() |
Getter for MEMORYRESERVATION w/ exceptions if field has no v |
HAS_MEMORYRESERVATION() |
Determine if MEMORYRESERVATION has a value |
gpuIds¶
The IDs of each GPU assigned to the container.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_GPUIDS() |
Getter for GPUIDS, with configurable default |
ASK_GPUIDS() |
Getter for GPUIDS w/ exceptions if field has no value |
HAS_GPUIDS() |
Determine if GPUIDS 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_CONTAINERS¶
TYPES TT_CONTAINERS TYPE STANDARD TABLE OF REF TO /AWS1/CL_ECSCONTAINER WITH DEFAULT KEY
.