Enum NodegroupAmiType

All Implemented Interfaces:
Serializable, Comparable<NodegroupAmiType>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-17T05:10:10.827Z") @Stability(Stable) public enum NodegroupAmiType extends Enum<NodegroupAmiType>
The AMI type for your node group.

GPU instance types should use the AL2_x86_64_GPU AMI type, which uses the Amazon EKS-optimized Linux AMI with GPU support or the BOTTLEROCKET_ARM_64_NVIDIA or BOTTLEROCKET_X86_64_NVIDIA AMI types, which uses the Amazon EKS-optimized Linux AMI with Nvidia-GPU support.

Non-GPU instances should use the AL2_x86_64 AMI type, which uses the Amazon EKS-optimized Linux AMI.


 Cluster cluster;
 cluster.addNodegroupCapacity("BottlerocketNvidiaNG", NodegroupOptions.builder()
         .instanceTypes(List.of(new InstanceType("g4dn.xlarge")))
  • Enum Constant Details

    • AL2_X86_64

      @Stability(Stable) public static final NodegroupAmiType AL2_X86_64
      Amazon Linux 2 (x86-64).
    • AL2_X86_64_GPU

      @Stability(Stable) public static final NodegroupAmiType AL2_X86_64_GPU
      Amazon Linux 2 with GPU support.
    • AL2_ARM_64

      @Stability(Stable) public static final NodegroupAmiType AL2_ARM_64
      Amazon Linux 2 (ARM-64).

      @Stability(Stable) public static final NodegroupAmiType BOTTLEROCKET_ARM_64
      Bottlerocket Linux (ARM-64).

      @Stability(Stable) public static final NodegroupAmiType BOTTLEROCKET_X86_64
      Bottlerocket (x86-64).

      @Stability(Stable) public static final NodegroupAmiType BOTTLEROCKET_ARM_64_NVIDIA
      Bottlerocket Linux with Nvidia-GPU support (ARM-64).

      @Stability(Stable) public static final NodegroupAmiType BOTTLEROCKET_X86_64_NVIDIA
      Bottlerocket with Nvidia-GPU support (x86-64).
    • WINDOWS_CORE_2019_X86_64

      @Stability(Stable) public static final NodegroupAmiType WINDOWS_CORE_2019_X86_64
      Windows Core 2019 (x86-64).
    • WINDOWS_CORE_2022_X86_64

      @Stability(Stable) public static final NodegroupAmiType WINDOWS_CORE_2022_X86_64
      Windows Core 2022 (x86-64).
    • WINDOWS_FULL_2019_X86_64

      @Stability(Stable) public static final NodegroupAmiType WINDOWS_FULL_2019_X86_64
      Windows Full 2019 (x86-64).
    • WINDOWS_FULL_2022_X86_64

      @Stability(Stable) public static final NodegroupAmiType WINDOWS_FULL_2022_X86_64
      Windows Full 2022 (x86-64).
    • AL2023_X86_64_STANDARD

      @Stability(Stable) public static final NodegroupAmiType AL2023_X86_64_STANDARD
      Amazon Linux 2023 (x86-64).
    • AL2023_ARM_64_STANDARD

      @Stability(Stable) public static final NodegroupAmiType AL2023_ARM_64_STANDARD
      Amazon Linux 2023 (ARM-64).
  • Method Details

    • values

      public static NodegroupAmiType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static NodegroupAmiType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null