CfnClusterCapacityProviderAssociationsProps Struct
Properties for defining a CfnClusterCapacityProviderAssociations.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ecs as ecs } from 'aws-cdk-lib';
const cfnClusterCapacityProviderAssociationsProps: ecs.CfnClusterCapacityProviderAssociationsProps = {
cluster: 'cluster',
defaultCapacityProviderStrategy: [{
capacityProvider: 'capacityProvider',
// the properties below are optional
base: 123,
weight: 123,
}],
// the properties below are optional
capacityProviders: ['capacityProviders'],
};
Properties
capacityProvidersoptionalstring | ICapacityProviderRef[]capacity_providersoptionaltyping.List[typing.Union[str, ICapacityProviderRef]]capacityProvidersoptionalList<String>CapacityProvidersoptionalstring[]CapacityProvidersoptional*[]interface{}#The capacity providers to associate with the cluster.
clusterstring | IClusterRefclustertyping.Union[str, IClusterRef]clusterStringClusterstringClusterinterface{}required#The cluster the capacity provider association is the target of.
defaultCapacityProviderStrategyIResolvable | IResolvable | CfnClusterCapacityProviderAssociations.CapacityProviderStrategyProperty[]default_capacity_provider_strategytyping.Union[IResolvable, typing.List[typing.Union[IResolvable, CapacityProviderStrategyProperty]]]defaultCapacityProviderStrategyIResolvableDefaultCapacityProviderStrategyIResolvableDefaultCapacityProviderStrategyinterface{}required#The default capacity provider strategy to associate with the cluster.