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 an CodeDeploy 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. An CodeDeploy application that uses the Amazon ECS compute platform deploys a containerized application in an Amazon ECS service as a task set.
Namespace: Amazon.CodeDeploy.Model
Assembly: AWSSDK.CodeDeploy.dll
Version: 3.x.y.z
public class ECSTaskSet
The ECSTaskSet type exposes the following members
Name | Description | |
---|---|---|
ECSTaskSet() |
Name | Type | Description | |
---|---|---|---|
DesiredCount | System.Int64 |
Gets and sets the property DesiredCount. The number of tasks in a task set. During a deployment that uses the Amazon ECS compute type, CodeDeploy instructs Amazon ECS to create a new task set and uses this value to determine how many tasks to create. After the updated task set is created, CodeDeploy shifts traffic to the new task set. |
|
Identifer | System.String |
Gets and sets the property Identifer.
A unique ID of an |
|
PendingCount | System.Int64 |
Gets and sets the property PendingCount.
The number of tasks in the task set that are in the |
|
RunningCount | System.Int64 |
Gets and sets the property RunningCount.
The number of tasks in the task set that are in the |
|
Status | System.String |
Gets and sets the property Status. The status of the task set. There are three valid task set statuses:
|
|
TargetGroup | Amazon.CodeDeploy.Model.TargetGroupInfo |
Gets and sets the property TargetGroup. The target group associated with the task set. The target group is used by CodeDeploy to manage traffic to a task set. |
|
TaskSetLabel | Amazon.CodeDeploy.TargetLabel |
Gets and sets the property TaskSetLabel.
A label that identifies whether the ECS task set is an original target ( |
|
TrafficWeight | System.Double |
Gets and sets the property TrafficWeight. The percentage of traffic served by this task set. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5