Enum 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.95.0 (build f1ff514)", date="2024-03-26T18:09:22.277Z") @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 type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static AmazonLinuxKernel 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.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null