interface CfnClusterCapacityProviderAssociationsProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ECS.CfnClusterCapacityProviderAssociationsProps |
Java | software.amazon.awscdk.services.ecs.CfnClusterCapacityProviderAssociationsProps |
Python | aws_cdk.aws_ecs.CfnClusterCapacityProviderAssociationsProps |
TypeScript | @aws-cdk/aws-ecs » CfnClusterCapacityProviderAssociationsProps |
Properties for defining a CfnClusterCapacityProviderAssociations.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as ecs from '@aws-cdk/aws-ecs';
const cfnClusterCapacityProviderAssociationsProps: ecs.CfnClusterCapacityProviderAssociationsProps = {
capacityProviders: ['capacityProviders'],
cluster: 'cluster',
defaultCapacityProviderStrategy: [{
capacityProvider: 'capacityProvider',
// the properties below are optional
base: 123,
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[]
The capacity providers to associate with the cluster.
cluster
Type:
string
The cluster the capacity provider association is the target of.
defaultCapacityProviderStrategy
Type:
IResolvable | IResolvable | Capacity[]
The default capacity provider strategy to associate with the cluster.

.NET
Java
Python
TypeScript