@Generated(value="jsii-pacmak/1.63.2 (build a8a8833)", date="2022-08-17T17:31:21.068Z") public enum MachineImageType extends java.lang.Enum<MachineImageType>
Example:
Cluster cluster; cluster.addCapacity("graviton-cluster", AddCapacityOptions.builder() .minCapacity(2) .instanceType(new InstanceType("c6g.large")) .machineImageType(MachineImageType.BOTTLEROCKET) .build());
Enum Constant and Description |
---|
AMAZON_LINUX_2
Amazon ECS-optimized Amazon Linux 2 AMI.
|
BOTTLEROCKET
Bottlerocket AMI.
|
Modifier and Type | Method and Description |
---|---|
static MachineImageType |
valueOf(java.lang.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.
|
public static final MachineImageType AMAZON_LINUX_2
public static final MachineImageType BOTTLEROCKET
public static MachineImageType[] values()
for (MachineImageType c : MachineImageType.values()) System.out.println(c);
public static MachineImageType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null