CfnClusterCapacityProviderAssociationsMixinProps
- class aws_cdk.mixins_preview.aws_ecs.mixins.CfnClusterCapacityProviderAssociationsMixinProps(*, capacity_providers=None, cluster=None, default_capacity_provider_strategy=None)
Bases:
objectProperties for CfnClusterCapacityProviderAssociationsPropsMixin.
- Parameters:
capacity_providers (
Optional[Sequence[str]]) – The capacity providers to associate with the cluster.cluster (
Optional[str]) – The cluster the capacity provider association is the target of.default_capacity_provider_strategy (
Union[IResolvable,Sequence[Union[IResolvable,CapacityProviderStrategyProperty,Dict[str,Any]]],None]) – The default capacity provider strategy to associate with the cluster.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_ecs import mixins as ecs_mixins cfn_cluster_capacity_provider_associations_mixin_props = ecs_mixins.CfnClusterCapacityProviderAssociationsMixinProps( capacity_providers=["capacityProviders"], cluster="cluster", default_capacity_provider_strategy=[ecs_mixins.CfnClusterCapacityProviderAssociationsPropsMixin.CapacityProviderStrategyProperty( base=123, capacity_provider="capacityProvider", weight=123 )] )
Attributes
- capacity_providers
The capacity providers to associate with the cluster.
- cluster
The cluster the capacity provider association is the target of.
- default_capacity_provider_strategy
The default capacity provider strategy to associate with the cluster.