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.
Information about a set of Amazon ECS tasks in either an CodeDeploy or an EXTERNAL
deployment. An Amazon ECS task set includes details such as the desired number of
tasks, how many tasks are running, and whether the task set serves production traffic.
Namespace: Amazon.ECS.Model
Assembly: AWSSDK.ECS.dll
Version: 3.x.y.z
public class TaskSet
The TaskSet type exposes the following members
Name | Description | |
---|---|---|
TaskSet() |
Name | Type | Description | |
---|---|---|---|
CapacityProviderStrategy | System.Collections.Generic.List<Amazon.ECS.Model.CapacityProviderStrategyItem> |
Gets and sets the property CapacityProviderStrategy. The capacity provider strategy that are associated with the task set. |
|
ClusterArn | System.String |
Gets and sets the property ClusterArn. The Amazon Resource Name (ARN) of the cluster that the service that hosts the task set exists in. |
|
ComputedDesiredCount | System.Int32 |
Gets and sets the property ComputedDesiredCount.
The computed desired count for the task set. This is calculated by multiplying the
service's |
|
CreatedAt | System.DateTime |
Gets and sets the property CreatedAt. The Unix timestamp for the time when the task set was created. |
|
ExternalId | System.String |
Gets and sets the property ExternalId. The external ID associated with the task set.
If an CodeDeploy deployment created a task set, the
If a task set is created for an external deployment and is associated with a service
discovery registry, the |
|
FargateEphemeralStorage | Amazon.ECS.Model.DeploymentEphemeralStorage |
Gets and sets the property FargateEphemeralStorage. The Fargate ephemeral storage settings for the task set. |
|
Id | System.String |
Gets and sets the property Id. The ID of the task set. |
|
LaunchType | Amazon.ECS.LaunchType |
Gets and sets the property LaunchType. The launch type the tasks in the task set are using. For more information, see Amazon ECS launch types in the Amazon Elastic Container Service Developer Guide. |
|
LoadBalancers | System.Collections.Generic.List<Amazon.ECS.Model.LoadBalancer> |
Gets and sets the property LoadBalancers. Details on a load balancer that are used with a task set. |
|
NetworkConfiguration | Amazon.ECS.Model.NetworkConfiguration |
Gets and sets the property NetworkConfiguration. The network configuration for the task set. |
|
PendingCount | System.Int32 |
Gets and sets the property PendingCount.
The number of tasks in the task set that are in the |
|
PlatformFamily | System.String |
Gets and sets the property PlatformFamily. The operating system that your tasks in the set are running on. A platform family is specified only for tasks that use the Fargate launch type. All tasks in the set must have the same value. |
|
PlatformVersion | System.String |
Gets and sets the property PlatformVersion. The Fargate platform version where the tasks in the task set are running. A platform version is only specified for tasks run on Fargate. For more information, see Fargate platform versions in the Amazon Elastic Container Service Developer Guide. |
|
RunningCount | System.Int32 |
Gets and sets the property RunningCount.
The number of tasks in the task set that are in the |
|
Scale | Amazon.ECS.Model.Scale |
Gets and sets the property Scale. A floating-point percentage of your desired number of tasks to place and keep running in the task set. |
|
ServiceArn | System.String |
Gets and sets the property ServiceArn. The Amazon Resource Name (ARN) of the service the task set exists in. |
|
ServiceRegistries | System.Collections.Generic.List<Amazon.ECS.Model.ServiceRegistry> |
Gets and sets the property ServiceRegistries. The details for the service discovery registries to assign to this task set. For more information, see Service discovery. |
|
StabilityStatus | Amazon.ECS.StabilityStatus |
Gets and sets the property StabilityStatus.
The stability status. This indicates whether the task set has reached a steady state.
If the following conditions are met, the task set are in
If any of those conditions aren't met, the stability status returns |
|
StabilityStatusAt | System.DateTime |
Gets and sets the property StabilityStatusAt. The Unix timestamp for the time when the task set stability status was retrieved. |
|
StartedBy | System.String |
Gets and sets the property StartedBy.
The tag specified when a task set is started. If an CodeDeploy deployment created
the task set, the |
|
Status | System.String |
Gets and sets the property Status. The status of the task set. The following describes each state.
|
|
Tags | System.Collections.Generic.List<Amazon.ECS.Model.Tag> |
Gets and sets the property Tags. The metadata that you apply to the task set to help you categorize and organize them. Each tag consists of a key and an optional value. You define both. The following basic restrictions apply to tags:
|
|
TaskDefinition | System.String |
Gets and sets the property TaskDefinition. The task definition that the task set is using. |
|
TaskSetArn | System.String |
Gets and sets the property TaskSetArn. The Amazon Resource Name (ARN) of the task set. |
|
UpdatedAt | System.DateTime |
Gets and sets the property UpdatedAt. The Unix timestamp for the time when the task set was last updated. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5