AWS Fundamentals Logo
AWS Fundamentals
AWS::ECS::PrimaryTaskSet

ECS PrimaryTaskSet

A pseudo-resource that manages which of your ECS task sets is primary.

Properties

3 configurable properties. 3 required. Click a row to see details.

Filter:
PropertyTypeFlags
Cluster
string
RequiredCreate-only
Service
string
RequiredCreate-only
TaskSetId
string
Required

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
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"

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

read

create

ecs:DescribeTaskSetsecs:UpdateServicePrimaryTaskSet

update

ecs:DescribeTaskSetsecs:UpdateServicePrimaryTaskSet

delete

Get the ECS Cheat Sheet

Everything you need to know about ECS on one page. HD quality, print-friendly.

Download Free Infographic

Quick Facts

ServiceECS
Properties3
Required3
TaggingNot supported
Primary IDCluster

Supported Operations

ReadCreateUpdateDelete

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

ClusterService

External Links