Interface CfnClusterCapacityProviderAssociationsPropsMixin.CapacityProviderStrategyProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnClusterCapacityProviderAssociationsPropsMixin.CapacityProviderStrategyProperty.Jsii$Proxy
Enclosing class:
CfnClusterCapacityProviderAssociationsPropsMixin

@Stability(Stable) public static interface CfnClusterCapacityProviderAssociationsPropsMixin.CapacityProviderStrategyProperty extends software.amazon.jsii.JsiiSerializable
The CapacityProviderStrategy property specifies the details of the default capacity provider strategy for the cluster.

When services or tasks are run in the cluster with no launch type or capacity provider strategy specified, the default capacity provider strategy is used.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.cfnpropertymixins.services.ecs.*;
 CapacityProviderStrategyProperty capacityProviderStrategyProperty = CapacityProviderStrategyProperty.builder()
         .base(123)
         .capacityProvider("capacityProvider")
         .weight(123)
         .build();
 

See Also: