Skip to content

/AWS1/CL_GDYECSTASKDETAILS

Contains information about the task in an ECS cluster.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_arn TYPE /AWS1/GDYSTRING /AWS1/GDYSTRING

The Amazon Resource Name (ARN) of the task.

iv_definitionarn TYPE /AWS1/GDYSTRING /AWS1/GDYSTRING

The ARN of the task definition that creates the task.

iv_version TYPE /AWS1/GDYSTRING /AWS1/GDYSTRING

The version counter for the task.

iv_taskcreatedat TYPE /AWS1/GDYTIMESTAMP /AWS1/GDYTIMESTAMP

The Unix timestamp for the time when the task was created.

iv_startedat TYPE /AWS1/GDYTIMESTAMP /AWS1/GDYTIMESTAMP

The Unix timestamp for the time when the task started.

iv_startedby TYPE /AWS1/GDYSTRING /AWS1/GDYSTRING

Contains the tag specified when a task is started.

it_tags TYPE /AWS1/CL_GDYTAG=>TT_TAGS TT_TAGS

The tags of the ECS Task.

it_volumes TYPE /AWS1/CL_GDYVOLUME=>TT_VOLUMES TT_VOLUMES

The list of data volume definitions for the task.

it_containers TYPE /AWS1/CL_GDYCONTAINER=>TT_CONTAINERS TT_CONTAINERS

The containers that's associated with the task.

iv_group TYPE /AWS1/GDYSTRING /AWS1/GDYSTRING

The name of the task group that's associated with the task.

iv_launchtype TYPE /AWS1/GDYSTRING /AWS1/GDYSTRING

A capacity on which the task is running. For example, Fargate and EC2.


Queryable Attributes

Arn

The Amazon Resource Name (ARN) of the task.

Accessible with the following methods

Method Description
GET_ARN() Getter for ARN, with configurable default
ASK_ARN() Getter for ARN w/ exceptions if field has no value
HAS_ARN() Determine if ARN has a value

DefinitionArn

The ARN of the task definition that creates the task.

Accessible with the following methods

Method Description
GET_DEFINITIONARN() Getter for DEFINITIONARN, with configurable default
ASK_DEFINITIONARN() Getter for DEFINITIONARN w/ exceptions if field has no value
HAS_DEFINITIONARN() Determine if DEFINITIONARN has a value

Version

The version counter for the task.

Accessible with the following methods

Method Description
GET_VERSION() Getter for VERSION, with configurable default
ASK_VERSION() Getter for VERSION w/ exceptions if field has no value
HAS_VERSION() Determine if VERSION has a value

TaskCreatedAt

The Unix timestamp for the time when the task was created.

Accessible with the following methods

Method Description
GET_TASKCREATEDAT() Getter for TASKCREATEDAT, with configurable default
ASK_TASKCREATEDAT() Getter for TASKCREATEDAT w/ exceptions if field has no value
HAS_TASKCREATEDAT() Determine if TASKCREATEDAT has a value

StartedAt

The Unix timestamp for the time when the task started.

Accessible with the following methods

Method Description
GET_STARTEDAT() Getter for STARTEDAT, with configurable default
ASK_STARTEDAT() Getter for STARTEDAT w/ exceptions if field has no value
HAS_STARTEDAT() Determine if STARTEDAT has a value

StartedBy

Contains the tag specified when a task is started.

Accessible with the following methods

Method Description
GET_STARTEDBY() Getter for STARTEDBY, with configurable default
ASK_STARTEDBY() Getter for STARTEDBY w/ exceptions if field has no value
HAS_STARTEDBY() Determine if STARTEDBY has a value

Tags

The tags of the ECS Task.

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

Volumes

The list of data volume definitions for the task.

Accessible with the following methods

Method Description
GET_VOLUMES() Getter for VOLUMES, with configurable default
ASK_VOLUMES() Getter for VOLUMES w/ exceptions if field has no value
HAS_VOLUMES() Determine if VOLUMES has a value

Containers

The containers that's associated with the task.

Accessible with the following methods

Method Description
GET_CONTAINERS() Getter for CONTAINERS, with configurable default
ASK_CONTAINERS() Getter for CONTAINERS w/ exceptions if field has no value
HAS_CONTAINERS() Determine if CONTAINERS has a value

Group

The name of the task group that's associated with the task.

Accessible with the following methods

Method Description
GET_GROUP() Getter for GROUP, with configurable default
ASK_GROUP() Getter for GROUP w/ exceptions if field has no value
HAS_GROUP() Determine if GROUP has a value

LaunchType

A capacity on which the task is running. For example, Fargate and EC2.

Accessible with the following methods

Method Description
GET_LAUNCHTYPE() Getter for LAUNCHTYPE, with configurable default
ASK_LAUNCHTYPE() Getter for LAUNCHTYPE w/ exceptions if field has no value
HAS_LAUNCHTYPE() Determine if LAUNCHTYPE has a value