AWS::ECS::TaskSetCreate 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.
12 configurable properties. 3 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
Cluster | string | RequiredCreate-only |
Service | string | RequiredCreate-only |
TaskDefinition | string | RequiredCreate-only |
CapacityProviderStrategy | Array<CapacityProviderStrategyItem> | Create-only |
ExternalId | string | Create-only |
LaunchType | string | Create-only |
LoadBalancers | Array<LoadBalancer> | Create-only |
NetworkConfiguration | NetworkConfiguration | Create-only |
PlatformVersion | string | Create-only |
Scale | Scale | |
ServiceRegistries | Array<ServiceRegistry> | Create-only |
Tags | Array<Tag> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Id | string | The ID of the task set. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::ECS::TaskSet
Resources:
MyResource:
Type: AWS::ECS::TaskSet
Properties:
Cluster: "value"
Service: "value"
TaskDefinition: "value"
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
ecs:DescribeTaskSetsecs:CreateTaskSetecs:DescribeTaskSetsecs:TagResourceecs:DescribeTaskSetsecs:TagResourceecs:UntagResourceecs:UpdateTaskSetecs:DeleteTaskSetecs:DescribeTaskSetsEverything you need to know about ECS on one page. HD quality, print-friendly.
Download Free InfographicClusterThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
ClusterExternalIdLaunchTypeLoadBalancersNetworkConfigurationPlatformVersionServiceServiceRegistriesTaskDefinitionCapacityProviderStrategy