@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.602Z") @Stability(value=Stable) public interface CfnClusterCapacityProviderAssociationsProps extends software.amazon.jsii.JsiiSerializable
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()
.capacityProviders(List.of("capacityProviders"))
.cluster("cluster")
.defaultCapacityProviderStrategy(List.of(CapacityProviderStrategyProperty.builder()
.capacityProvider("capacityProvider")
// the properties below are optional
.base(123)
.weight(123)
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnClusterCapacityProviderAssociationsProps.Builder
A builder for
CfnClusterCapacityProviderAssociationsProps |
static class |
CfnClusterCapacityProviderAssociationsProps.Jsii$Proxy
An implementation for
CfnClusterCapacityProviderAssociationsProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnClusterCapacityProviderAssociationsProps.Builder |
builder() |
List<String> |
getCapacityProviders()
The capacity providers to associate with the cluster.
|
String |
getCluster()
The cluster the capacity provider association is the target of.
|
Object |
getDefaultCapacityProviderStrategy()
The default capacity provider strategy to associate with the cluster.
|
@Stability(value=Stable) @NotNull List<String> getCapacityProviders()
@Stability(value=Stable) @NotNull String getCluster()
@Stability(value=Stable) @NotNull Object getDefaultCapacityProviderStrategy()
@Stability(value=Stable) static CfnClusterCapacityProviderAssociationsProps.Builder builder()
Copyright © 2022. All rights reserved.