Skip to content

/AWS1/CL_ECSVERSIONINFO

The Docker and Amazon ECS container agent version information about a container instance.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_agentversion TYPE /AWS1/ECSSTRING /AWS1/ECSSTRING

The version number of the Amazon ECS container agent.

iv_agenthash TYPE /AWS1/ECSSTRING /AWS1/ECSSTRING

The Git commit hash for the Amazon ECS container agent build on the amazon-ecs-agent GitHub repository.

iv_dockerversion TYPE /AWS1/ECSSTRING /AWS1/ECSSTRING

The Docker version that's running on the container instance.


Queryable Attributes

agentVersion

The version number of the Amazon ECS container agent.

Accessible with the following methods

Method Description
GET_AGENTVERSION() Getter for AGENTVERSION, with configurable default
ASK_AGENTVERSION() Getter for AGENTVERSION w/ exceptions if field has no value
HAS_AGENTVERSION() Determine if AGENTVERSION has a value

agentHash

The Git commit hash for the Amazon ECS container agent build on the amazon-ecs-agent GitHub repository.

Accessible with the following methods

Method Description
GET_AGENTHASH() Getter for AGENTHASH, with configurable default
ASK_AGENTHASH() Getter for AGENTHASH w/ exceptions if field has no value
HAS_AGENTHASH() Determine if AGENTHASH has a value

dockerVersion

The Docker version that's running on the container instance.

Accessible with the following methods

Method Description
GET_DOCKERVERSION() Getter for DOCKERVERSION, with configurable default
ASK_DOCKERVERSION() Getter for DOCKERVERSION w/ exceptions if field has no value
HAS_DOCKERVERSION() Determine if DOCKERVERSION has a value