Skip to content

/AWS1/CL_ECS=>DESCRIBETASKDEFINITION()

About DescribeTaskDefinition

Describes a task definition. You can specify a family and revision to find information about a specific task definition, or you can simply specify the family to find the latest ACTIVE revision in that family.

You can only describe INACTIVE task definitions while an active task or service references them.

Method Signature

IMPORTING

Required arguments:

IV_TASKDEFINITION TYPE /AWS1/ECSSTRING /AWS1/ECSSTRING

The family for the latest ACTIVE revision, family and revision (family:revision) for a specific revision in the family, or full Amazon Resource Name (ARN) of the task definition to describe.

Optional arguments:

IT_INCLUDE TYPE /AWS1/CL_ECSTASKDEFNFIELDLST_W=>TT_TASKDEFINITIONFIELDLIST TT_TASKDEFINITIONFIELDLIST

Determines whether to see the resource tags for the task definition. If TAGS is specified, the tags are included in the response. If this field is omitted, tags aren't included in the response.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_ECSDESCRTASKDEFNRSP /AWS1/CL_ECSDESCRTASKDEFNRSP