@Generated(value="jsii-pacmak/1.57.0 (build f614666)", date="2022-04-22T22:36:21.844Z") @Stability(value=Stable) public enum MachineImageType extends 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(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.