AWS Fundamentals Logo
AWS Fundamentals
AWS::ECS::ClusterCapacityProviderAssociations

ECS ClusterCapacityProviderAssociations

Associate a set of ECS Capacity Providers with a specified ECS Cluster

Properties

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

Filter:
PropertyTypeFlags
Cluster
string
RequiredCreate-only
DefaultCapacityProviderStrategy
array
Required
CapacityProviders
array

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::ClusterCapacityProviderAssociations

Resources:
  MyResource:
    Type: AWS::ECS::ClusterCapacityProviderAssociations
    Properties:
      Cluster: "value"
      DefaultCapacityProviderStrategy: "my-defaultcapacityproviderstrategy"

Required IAM Permissions

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

read

ecs:DescribeClusters

create

ecs:DescribeClustersecs:PutClusterCapacityProvidersecs:DescribeCapacityProviders

update

ecs:DescribeClustersecs:DescribeCapacityProvidersecs:PutClusterCapacityProviders

list

ecs:DescribeClustersecs:ListClusters

delete

ecs:PutClusterCapacityProvidersecs:DescribeClusters

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
Required2
TaggingNot supported
Primary IDCluster

Supported Operations

ReadCreateUpdateListDelete

Immutable After Creation

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

Cluster

External Links