@Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)", date="2022-12-07T17:24:46.748Z") @Stability(value=Stable) public enum MachineImageType extends Enum<MachineImageType>
Example:
Cluster cluster;
cluster.addAutoScalingGroupCapacity("BottlerocketNodes", AutoScalingGroupCapacityOptions.builder()
.instanceType(new InstanceType("t3.small"))
.minCapacity(2)
.machineImageType(MachineImageType.BOTTLEROCKET)
.build());
| Enum Constant and Description |
|---|
AMAZON_LINUX_2
Amazon EKS-optimized Linux AMI.
|
BOTTLEROCKET
Bottlerocket AMI.
|
| Modifier and Type | Method and Description |
|---|---|
static MachineImageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MachineImageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Stable) public static final MachineImageType AMAZON_LINUX_2
@Stability(value=Stable) public static final MachineImageType BOTTLEROCKET
public static MachineImageType[] values()
for (MachineImageType c : MachineImageType.values()) System.out.println(c);
public static MachineImageType 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.