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 tags: Output<List<TagArgs>>? = 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
constructor(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, tags: Output<List<TagArgs>>? = null, taskDefinition: Output<String>? = null)

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

A load balancer object representing the load balancer to use with the task set. The supported load balancer types are either an Application Load Balancer or a Network Load Balancer.

Link copied to clipboard

The network configuration for the task set.

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 tags: Output<List<TagArgs>>? = null

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:

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.

Functions

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