TaskSet

class TaskSet

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.

Types

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

Properties

Link copied to clipboard

The capacity provider strategy that are associated with the task set.

Link copied to clipboard

The Amazon Resource Name (ARN) of the cluster that the service that hosts the task set exists in.

Link copied to clipboard

The computed desired count for the task set. This is calculated by multiplying the service's desiredCount by the task set's scale percentage. The result is always rounded up. For example, if the computed desired count is 1.2, it rounds up to 2 tasks.

Link copied to clipboard

The Unix timestamp for the time when the task set was created.

Link copied to clipboard

The external ID associated with the task set.

Link copied to clipboard

The Fargate ephemeral storage settings for the task set.

Link copied to clipboard
val id: String?

The ID of the task set.

Link copied to clipboard

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.

Link copied to clipboard

Details on a load balancer that are used with a task set.

Link copied to clipboard

The network configuration for the task set.

Link copied to clipboard

The number of tasks in the task set that are in the PENDING status during a 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's restarted after being in the STOPPED state.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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

Link copied to clipboard
val scale: Scale?

A floating-point percentage of your desired number of tasks to place and keep running in the task set.

Link copied to clipboard

The Amazon Resource Name (ARN) of the service the task set exists in.

Link copied to clipboard

The details for the service discovery registries to assign to this task set. For more information, see Service discovery.

Link copied to clipboard

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 STEADY_STATE:

Link copied to clipboard

The Unix timestamp for the time when the task set stability status was retrieved.

Link copied to clipboard

The tag specified when a task set is started. If an CodeDeploy deployment created the task set, the startedBy parameter is CODE_DEPLOY. If an external deployment created the task set, the startedBy field isn't used.

Link copied to clipboard

The status of the task set. The following describes each state.

Link copied to clipboard
val tags: List<Tag>?

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.

Link copied to clipboard

The task definition that the task set is using.

Link copied to clipboard

The Amazon Resource Name (ARN) of the task set.

Link copied to clipboard

The Unix timestamp for the time when the task set was last updated.

Functions

Link copied to clipboard
inline fun copy(block: TaskSet.Builder.() -> Unit = {}): TaskSet
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