Interface CfnClusterCapacityProviderAssociationsProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnClusterCapacityProviderAssociationsProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:09.525Z")
@Stability(Stable)
public interface CfnClusterCapacityProviderAssociationsProps
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.ecs.*;
CfnClusterCapacityProviderAssociationsProps cfnClusterCapacityProviderAssociationsProps = CfnClusterCapacityProviderAssociationsProps.builder()
.cluster("cluster")
.defaultCapacityProviderStrategy(List.of(CapacityProviderStrategyProperty.builder()
.capacityProvider("capacityProvider")
// the properties below are optional
.base(123)
.weight(123)
.build()))
// the properties below are optional
.capacityProviders(List.of("capacityProviders"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnClusterCapacityProviderAssociationsPropsstatic final classAn implementation forCfnClusterCapacityProviderAssociationsProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The capacity providers to associate with the cluster.The cluster the capacity provider association is the target of.The default capacity provider strategy to associate with the cluster.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCluster
The cluster the capacity provider association is the target of.Returns union: either
StringorIClusterRef- See Also:
-
getDefaultCapacityProviderStrategy
The default capacity provider strategy to associate with the cluster.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnClusterCapacityProviderAssociations.CapacityProviderStrategyProperty>- See Also:
-
getCapacityProviders
The capacity providers to associate with the cluster.Returns union: Listinvalid input: '<'either
StringorICapacityProviderRef>- See Also:
-
builder
-