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.
Namespace: Amazon.ECS.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class TaskDefinition : Object
The TaskDefinition type exposes the following members
Name | Description | |
---|---|---|
TaskDefinition() |
Name | Type | Description | |
---|---|---|---|
ContainerDefinitions | System.Collections.Generic.List<Amazon.ECS.Model.ContainerDefinition> |
Gets and sets the property ContainerDefinitions.
A list of container definitions in JSON format that describe the different containers that make up your task. For more information about container definition parameters and defaults, see Amazon ECS Task Definitions in the Amazon EC2 Container Service Developer Guide. |
|
Family | System.String |
Gets and sets the property Family.
The family of your task definition, used as the definition name. |
|
RequiresAttributes | System.Collections.Generic.List<Amazon.ECS.Model.Attribute> |
Gets and sets the property RequiresAttributes.
The container instance attributes required by your task. |
|
Revision | System.Int32 |
Gets and sets the property Revision.
The revision of the task in a particular family. The revision is a version number
of a task definition in a family. When you register a task definition for the first
time, the revision is |
|
Status | Amazon.ECS.TaskDefinitionStatus |
Gets and sets the property Status.
The status of the task definition. |
|
TaskDefinitionArn | System.String |
Gets and sets the property TaskDefinitionArn.
The full Amazon Resource Name (ARN) of the of the task definition. |
|
Volumes | System.Collections.Generic.List<Amazon.ECS.Model.Volume> |
Gets and sets the property Volumes.
The list of volumes in a task. For more information about volume definition parameters and defaults, see Amazon ECS Task Definitions in the Amazon EC2 Container Service Developer Guide. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8