Class AmazonLinux2023Kernel
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ec2.AmazonLinux2023Kernel
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2025-01-15T21:09:17.650Z")
@Stability(Stable)
public class AmazonLinux2023Kernel
extends software.amazon.jsii.JsiiObject
Amazon Linux 2023 kernel versions.
Example:
Vpc vpc; Instance.Builder.create(this, "LatestAl2023") .vpc(vpc) .instanceType(InstanceType.of(InstanceClass.C7G, InstanceSize.LARGE)) // context cache is turned on by default .machineImage(AmazonLinux2023ImageSsmParameter.Builder.create() .kernel(AmazonLinux2023Kernel.KERNEL_6_1) .build()) .build();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Field Summary
Modifier and TypeFieldDescriptionstatic final AmazonLinux2023Kernel
The latest kernel version currently available in a published AMI.static final AmazonLinux2023Kernel
The default kernel version for Amazon Linux 2023 is 6.1 and the SSM parameter does not include it in the name (i.e.static final AmazonLinux2023Kernel
Kernel version 6.1. -
Constructor Summary
ModifierConstructorDescriptionAmazonLinux2023Kernel
(String version) protected
AmazonLinux2023Kernel
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
AmazonLinux2023Kernel
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
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
The latest kernel version currently available in a published AMI.When a new kernel version is available for an al2023 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
The default kernel version for Amazon Linux 2023 is 6.1 and the SSM parameter does not include it in the name (i.e. /aws/service/ami-amazon-linux-latest/amzn2023-ami-kernel-default-x86_64). -
KERNEL_6_1
Kernel version 6.1.
-
-
Constructor Details
-
AmazonLinux2023Kernel
protected AmazonLinux2023Kernel(software.amazon.jsii.JsiiObjectRef objRef) -
AmazonLinux2023Kernel
protected AmazonLinux2023Kernel(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
AmazonLinux2023Kernel
- Parameters:
version
- This parameter is required.
-
-
Method Details