interface CfnClusterCapacityProviderAssociationsMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ECS.Mixins.CfnClusterCapacityProviderAssociationsMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsecs/mixins#CfnClusterCapacityProviderAssociationsMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.ecs.mixins.CfnClusterCapacityProviderAssociationsMixinProps |
Python | aws_cdk.mixins_preview.aws_ecs.mixins.CfnClusterCapacityProviderAssociationsMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_ecs » mixins » CfnClusterCapacityProviderAssociationsMixinProps |
Properties for CfnClusterCapacityProviderAssociationsPropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as ecs_mixins } from '@aws-cdk/mixins-preview/aws-ecs';
const cfnClusterCapacityProviderAssociationsMixinProps: ecs_mixins.CfnClusterCapacityProviderAssociationsMixinProps = {
capacityProviders: ['capacityProviders'],
cluster: 'cluster',
defaultCapacityProviderStrategy: [{
base: 123,
capacityProvider: 'capacityProvider',
weight: 123,
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| capacity | string[] | The capacity providers to associate with the cluster. |
| cluster? | string | The cluster the capacity provider association is the target of. |
| default | IResolvable | (IResolvable | Capacity)[] | The default capacity provider strategy to associate with the cluster. |
capacityProviders?
Type:
string[]
(optional)
The capacity providers to associate with the cluster.
cluster?
Type:
string
(optional)
The cluster the capacity provider association is the target of.
defaultCapacityProviderStrategy?
Type:
IResolvable | (IResolvable | Capacity)[]
(optional)
The default capacity provider strategy to associate with the cluster.

.NET
Go
Java
Python
TypeScript