Class AmazonLinux2022Kernel

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ec2.AmazonLinux2022Kernel
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-07-12T19:34:00.386Z") @Stability(Stable) public class AmazonLinux2022Kernel extends software.amazon.jsii.JsiiObject
Amazon Linux 2022 kernel versions.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.ec2.*;
 AmazonLinux2022Kernel amazonLinux2022Kernel = AmazonLinux2022Kernel.CDK_LATEST;
 
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    The latest kernel version currently available in a published AMI.
    The default kernel version for Amazon Linux 2022 is 5.15 and the SSM parameter does not include it in the name (i.e.
    Kernel version 5.15.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
     
     
    protected
    AmazonLinux2022Kernel(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    AmazonLinux2022Kernel(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Generate a string representation of the kernel.

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Field Details

    • CDK_LATEST

      @Stability(Stable) public static final AmazonLinux2022Kernel CDK_LATEST
      The latest kernel version currently available in a published AMI.

      When a new kernel version is available for an al2022 AMI this will be updated to contain the latest kernel version and will cause your instances to be replaced. Do not store stateful information on the instance if you are using this version.

    • DEFAULT

      @Stability(Stable) public static final AmazonLinux2022Kernel DEFAULT
      The default kernel version for Amazon Linux 2022 is 5.15 and the SSM parameter does not include it in the name (i.e. /aws/service/ami-amazon-linux-latest/amzn2022-ami-kernel-default-x86_64).
    • KERNEL_5_15

      @Stability(Stable) public static final AmazonLinux2022Kernel KERNEL_5_15
      Kernel version 5.15.
  • Constructor Details

    • AmazonLinux2022Kernel

      protected AmazonLinux2022Kernel(software.amazon.jsii.JsiiObjectRef objRef)
    • AmazonLinux2022Kernel

      protected AmazonLinux2022Kernel(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • AmazonLinux2022Kernel

      @Stability(Stable) public AmazonLinux2022Kernel(@NotNull String version)
      Parameters:
      version - This parameter is required.
  • Method Details

    • toString

      @Stability(Stable) @NotNull public String toString()
      Generate a string representation of the kernel.
      Overrides:
      toString in class Object