TaskSetArgs

data class TaskSetArgs(val cluster: Output<String>? = null, val externalId: Output<String>? = null, val launchType: Output<TaskSetLaunchType>? = null, val loadBalancers: Output<List<TaskSetLoadBalancerArgs>>? = null, val networkConfiguration: Output<TaskSetNetworkConfigurationArgs>? = null, val platformVersion: Output<String>? = null, val scale: Output<TaskSetScaleArgs>? = null, val service: Output<String>? = null, val serviceRegistries: Output<List<TaskSetServiceRegistryArgs>>? = null, val taskDefinition: Output<String>? = null) : ConvertibleToJava<TaskSetArgs>

Create a task set in the specified cluster and service. This is used when a service uses the EXTERNAL deployment controller type. For more information, see https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.htmlin the Amazon Elastic Container Service Developer Guide.

Constructors

Link copied to clipboard
fun TaskSetArgs(cluster: Output<String>? = null, externalId: Output<String>? = null, launchType: Output<TaskSetLaunchType>? = null, loadBalancers: Output<List<TaskSetLoadBalancerArgs>>? = null, networkConfiguration: Output<TaskSetNetworkConfigurationArgs>? = null, platformVersion: Output<String>? = null, scale: Output<TaskSetScaleArgs>? = null, service: Output<String>? = null, serviceRegistries: Output<List<TaskSetServiceRegistryArgs>>? = null, taskDefinition: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): TaskSetArgs

Properties

Link copied to clipboard
val cluster: Output<String>? = null

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to create the task set in.

Link copied to clipboard
val externalId: Output<String>? = null

An optional non-unique tag that identifies this task set in external systems. If the task set is associated with a service discovery registry, the tasks in this task set will have the ECS_TASK_SET_EXTERNAL_ID AWS Cloud Map attribute set to the provided value.

Link copied to clipboard
val launchType: Output<TaskSetLaunchType>? = null

The launch type that new tasks in the task set will use. For more information, see https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html in the Amazon Elastic Container Service Developer Guide.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val platformVersion: Output<String>? = null

The platform version that the tasks in the task set should use. A platform version is specified only for tasks using the Fargate launch type. If one isn't specified, the LATEST platform version is used by default.

Link copied to clipboard
val scale: Output<TaskSetScaleArgs>? = null

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

Link copied to clipboard
val service: Output<String>? = null

The short name or full Amazon Resource Name (ARN) of the service to create the task set in.

Link copied to clipboard

The details of the service discovery registries to assign to this task set. For more information, see https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html.

Link copied to clipboard
val taskDefinition: Output<String>? = null

The short name or full Amazon Resource Name (ARN) of the task definition for the tasks in the task set to use.