AWS::ECS::CapacityProviderResource Type definition for AWS::ECS::CapacityProvider.
5 configurable properties. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
AutoScalingGroupProvider | AutoScalingGroupProvider | |
ClusterName | string | Create-only |
ManagedInstancesProvider | ManagedInstancesProvider | |
Name | string | Create-only |
Tags | Array<Tag> |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::ECS::CapacityProvider
Resources:
MyResource:
Type: AWS::ECS::CapacityProvider
Properties:
Tags:
- Key: Environment
Value: Production
Name: !Ref "AWS::StackName"Permissions CloudFormation needs in your IAM role to manage this resource.
ecs:DescribeCapacityProvidersautoscaling:CreateOrUpdateTagsecs:CreateCapacityProviderecs:DescribeCapacityProvidersecs:TagResourceecs:PutClusterCapacityProvidersiam:CreateServiceLinkedRoleiam:PassRoleecs:UpdateCapacityProviderecs:DescribeCapacityProvidersecs:ListTagsForResourceecs:PutClusterCapacityProvidersecs:TagResourceecs:UntagResourceiam:PassRoleecs:DescribeCapacityProvidersecs:DescribeCapacityProvidersecs:DeleteCapacityProviderecs:PutClusterCapacityProvidersEverything you need to know about ECS on one page. HD quality, print-friendly.
Download Free InfographicNameThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
AutoScalingGroupProvider/AutoScalingGroupArnManagedInstancesProvider/InstanceLaunchTemplate/FipsEnabledNameClusterName