AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the DescribeTaskDefinition operation.
Describes a task definition. You can specify a
You can only describe 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.
INACTIVE
task definitions while an active task or service
references them.
Namespace: Amazon.ECS.Model
Assembly: AWSSDK.ECS.dll
Version: 3.x.y.z
public class DescribeTaskDefinitionRequest : AmazonECSRequest IAmazonWebServiceRequest
The DescribeTaskDefinitionRequest type exposes the following members
Name | Description | |
---|---|---|
DescribeTaskDefinitionRequest() |
Name | Type | Description | |
---|---|---|---|
Include | System.Collections.Generic.List<System.String> |
Gets and sets the property Include.
Determines whether to see the resource tags for the task definition. If |
|
TaskDefinition | System.String |
Gets and sets the property TaskDefinition.
The |
This example provides a description of the specified task definition.
var client = new AmazonECSClient(); var response = client.DescribeTaskDefinition(new DescribeTaskDefinitionRequest { TaskDefinition = "hello_world:8" }); TaskDefinition taskDefinition = response.TaskDefinition;
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5