AmazonLinux2022Kernel

class aws_cdk.aws_ec2.AmazonLinux2022Kernel(version)

Bases: object

Amazon Linux 2022 kernel versions.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ec2 as ec2

amazon_linux2022_kernel = ec2.AmazonLinux2022Kernel.CDK_LATEST
Parameters:

version (str) –

Methods

to_string()

Generate a string representation of the kernel.

Return type:

str

Attributes

CDK_LATEST = <aws_cdk.aws_ec2.AmazonLinux2022Kernel object>
DEFAULT = <aws_cdk.aws_ec2.AmazonLinux2022Kernel object>
KERNEL_5_15 = <aws_cdk.aws_ec2.AmazonLinux2022Kernel object>