@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-07T23:47:06.128Z") @Stability(value=Experimental) 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
(experimental) EC2 autoscaling group.
|
NODEGROUP
(experimental) 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=Experimental) public static final DefaultCapacityType NODEGROUP
@Stability(value=Experimental) 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.