AWS::ECS::PrimaryTaskSetA pseudo-resource that manages which of your ECS task sets is primary.
3 configurable properties. 3 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
Cluster | string | RequiredCreate-only |
Service | string | RequiredCreate-only |
TaskSetId | string | Required |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::ECS::PrimaryTaskSet
Resources:
MyResource:
Type: AWS::ECS::PrimaryTaskSet
Properties:
Cluster: "value"
Service: "value"
TaskSetId: "my-tasksetid"Permissions CloudFormation needs in your IAM role to manage this resource.
ecs:DescribeTaskSetsecs:UpdateServicePrimaryTaskSetecs:DescribeTaskSetsecs:UpdateServicePrimaryTaskSetEverything 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.
ClusterService