interface CfnClusterCapacityProviderAssociationsMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.ECS.CfnClusterCapacityProviderAssociationsMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsecs#CfnClusterCapacityProviderAssociationsMixinProps |
Java | software.amazon.awscdk.cfnpropertymixins.services.ecs.CfnClusterCapacityProviderAssociationsMixinProps |
Python | aws_cdk.cfn_property_mixins.aws_ecs.CfnClusterCapacityProviderAssociationsMixinProps |
TypeScript | @aws-cdk/cfn-property-mixins » aws_ecs » 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 { aws_ecs as ecs } from '@aws-cdk/cfn-property-mixins';
const cfnClusterCapacityProviderAssociationsMixinProps: ecs.CfnClusterCapacityProviderAssociationsMixinProps = {
capacityProviders: ['capacityProviders'],
cluster: 'cluster',
defaultCapacityProviderStrategy: [{
base: 123,
capacityProvider: 'capacityProvider',
weight: 123,
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| capacity | (string | ICapacity)[] | The capacity providers to associate with the cluster. |
| cluster? | string | ICluster | 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 | ICapacity)[]
(optional)
The capacity providers to associate with the cluster.
cluster?
Type:
string | ICluster
(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