@Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)", date="2022-12-07T17:24:46.696Z") @Stability(value=Stable) public enum DefaultCapacityType extends Enum<DefaultCapacityType>
Example:
Cluster cluster = Cluster.Builder.create(this, "HelloEKS")
.version(KubernetesVersion.V1_21)
.defaultCapacityType(DefaultCapacityType.EC2)
.build();
| Enum Constant and Description |
|---|
EC2
EC2 autoscaling group.
|
NODEGROUP
managed node group.
|
| Modifier and Type | Method and Description |
|---|---|
static DefaultCapacityType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultCapacityType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Stable) public static final DefaultCapacityType NODEGROUP
@Stability(value=Stable) public static final DefaultCapacityType EC2
public static DefaultCapacityType[] values()
for (DefaultCapacityType c : DefaultCapacityType.values()) System.out.println(c);
public static DefaultCapacityType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2022. All rights reserved.