AWS::ECS::ClusterCapacityProviderAssociationsThe `AWS::ECS::ClusterCapacityProviderAssociations` resource associates one or more capacity providers and a default capacity provider strategy with a cluster.
import { CfnClusterCapacityProviderAssociations } from 'aws-cdk-lib/aws-ecs';Or use the module namespace:
import * as ecs from 'aws-cdk-lib/aws-ecs';
// ecs.CfnClusterCapacityProviderAssociationsConfiguration passed to the constructor as CfnClusterCapacityProviderAssociationsProps.
clusterRequiredstring | IClusterRefThe cluster the capacity provider association is the target of.
defaultCapacityProviderStrategyRequiredIResolvable | IResolvable | CapacityProviderStrategyProperty[]The default capacity provider strategy to associate with the cluster.
capacityProvidersOptionalstring | ICapacityProviderRef[]The capacity providers to associate with the cluster.
This L1 construct maps directly to the following CloudFormation resource type.
Everything you need to know about Amazon ECS on one page. HD quality, print-friendly.
Download Free Infographicaws-ecsAWS::ECS::ClusterCapacityProviderAssociations