describeTaskDefinition  
  inline suspend fun EcsClient.describeTaskDefinition(crossinline block: DescribeTaskDefinitionRequest.Builder.() -> Unit): DescribeTaskDefinitionResponse
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.
Samples
fun main() { 
   //sampleStart 
   // This example provides a description of the specified task definition.
val resp = ecsClient.describeTaskDefinition {
    taskDefinition = "hello_world:8"
} 
   //sampleEnd
}