Enum Class AmazonLinuxKernel

java.lang.Object
java.lang.Enum<AmazonLinuxKernel>
software.amazon.awscdk.services.ec2.AmazonLinuxKernel
All Implemented Interfaces:
Serializable, Comparable<AmazonLinuxKernel>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.110.0 (build 336b265)", date="2025-05-07T19:18:46.366Z") @Stability(Stable) public enum AmazonLinuxKernel extends Enum<AmazonLinuxKernel>
Amazon Linux Kernel.
  • Enum Constant Details

    • KERNEL5_X

      @Stability(Stable) public static final AmazonLinuxKernel KERNEL5_X
      Kernel version 5.10.
    • KERNEL6_1

      @Stability(Stable) public static final AmazonLinuxKernel KERNEL6_1
      Kernel version 6.1.
  • Method Details

    • values

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

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