EcsTaskSet

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.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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.

Link copied to clipboard

A unique ID of an ECSTaskSet.

Link copied to clipboard

The number of tasks in the task set that are in the PENDING status during an Amazon ECS deployment. A task in the PENDING state is preparing to enter the RUNNING state. A task set enters the PENDING status when it launches for the first time, or when it is restarted after being in the STOPPED state.

Link copied to clipboard

The number of tasks in the task set that are in the RUNNING status during an Amazon ECS deployment. A task in the RUNNING state is running and ready for use.

Link copied to clipboard

The status of the task set. There are three valid task set statuses:

Link copied to clipboard

The target group associated with the task set. The target group is used by CodeDeploy to manage traffic to a task set.

Link copied to clipboard

A label that identifies whether the ECS task set is an original target (BLUE) or a replacement target (GREEN).

Link copied to clipboard

The percentage of traffic served by this task set.

Functions

Link copied to clipboard
inline fun copy(block: EcsTaskSet.Builder.() -> Unit = {}): EcsTaskSet
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String