paws.compute (version 0.1.0)

ecs_describe_task_definition: Describes a task definition

Description

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.

Usage

ecs_describe_task_definition(taskDefinition, include)

Arguments

taskDefinition

[required] 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.

include

Specifies 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 are not included in the response.

Request syntax

svc$describe_task_definition(
  taskDefinition = "string",
  include = list(
    "TAGS"
  )
)

Details

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

Examples

Run this code
# NOT RUN {
# This example provides a description of the specified task definition.
# }
# NOT RUN {
svc$describe_task_definition(
  taskDefinition = "hello_world:8"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab