---
type: resource-type
title: TaskSet
description: aws resource type AWS::ECS::TaskSet
name: TaskSet
lexicon: aws
resource_type: AWS::ECS::TaskSet
---
`AWS::ECS::TaskSet`, a resource type of the aws lexicon.

## Properties

- `Cluster` (`string`, required): The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to create the task set in.
- `Service` (`string`, required): The short name or full Amazon Resource Name (ARN) of the service to create the task set in.
- `TaskDefinition` (`string`, required): The short name or full Amazon Resource Name (ARN) of the task definition for the tasks in the task set to use.
- `CapacityProviderStrategy` (`TaskSet_CapacityProviderStrategyItem[]`, optional)
- `ExternalId` (`string`, optional): 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.
- `Id` (`string`, optional): The ID of the task set.
- `LaunchType` (`"EC2" | "FARGATE"`, optional): 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.
- `LoadBalancers` (`TaskSet_LoadBalancer[]`, optional)
- `NetworkConfiguration` (`TaskSet_NetworkConfiguration`, optional)
- `PlatformVersion` (`string`, optional): 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.
- `Scale` (`TaskSet_Scale`, optional): A floating-point percentage of the desired number of tasks to place and keep running in the task set.
- `ServiceRegistries` (`TaskSet_ServiceRegistry[]`, optional): 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.
- `Tags` (`TaskSet_Tag[]`, optional)

## Attributes

- `Id`
