@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:17.202Z") @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()
`AWS::ECS::ClusterCapacityProviderAssociations.CapacityProviders`.
|
String |
getCluster()
`AWS::ECS::ClusterCapacityProviderAssociations.Cluster`.
|
Object |
getDefaultCapacityProviderStrategy()
`AWS::ECS::ClusterCapacityProviderAssociations.DefaultCapacityProviderStrategy`.
|
@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 © 2021. All rights reserved.