AWS::ECS::ClusterThe AWS::ECS::Cluster resource creates an Amazon Elastic Container Service (Amazon ECS) cluster.
7 configurable properties. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
CapacityProviders | Array<string> | |
ClusterName | string | Create-only |
ClusterSettings | Array<ClusterSettings> | |
Configuration | ClusterConfiguration | |
DefaultCapacityProviderStrategy | Array<CapacityProviderStrategyItem> | |
ServiceConnectDefaults | ServiceConnectDefaults | Write-only |
Tags | Array<Tag> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Arn | string | - |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::ECS::Cluster
Resources:
MyResource:
Type: AWS::ECS::Cluster
Properties:
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
ecs:DescribeClusterskms:DescribeKeyecs:CreateClusterecs:DescribeClustersiam:CreateServiceLinkedRoleecs:TagResourcekms:DescribeKeyecs:PutAccountSettingDefaultecs:DescribeClustersecs:TagResourceecs:UntagResourceecs:PutAccountSettingecs:ListTagsForResourceecs:UpdateClusterecs:UpdateClusterSettingsecs:DescribeClustersecs:ListClustersecs:DeleteClusterecs:DescribeClusterskms:DescribeKeyEverything you need to know about ECS on one page. HD quality, print-friendly.
Download Free InfographicClusterNameThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
ClusterName