Class AmazonLinux2022ImageSsmParameter
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ec2.AmazonLinuxImageSsmParameterBase
software.amazon.awscdk.services.ec2.AmazonLinux2022ImageSsmParameter
- All Implemented Interfaces:
IMachineImage
,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:24:00.122Z")
@Stability(Stable)
public class AmazonLinux2022ImageSsmParameter
extends AmazonLinuxImageSsmParameterBase
A SSM Parameter that contains the AMI ID for Amazon Linux 2023.
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; UserData userData; AmazonLinux2022ImageSsmParameter amazonLinux2022ImageSsmParameter = AmazonLinux2022ImageSsmParameter.Builder.create() .cachedInContext(false) .cpuType(AmazonLinuxCpuType.ARM_64) .edition(AmazonLinuxEdition.STANDARD) .kernel(amazonLinux2022Kernel) .userData(userData) .build();
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forAmazonLinux2022ImageSsmParameter
.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.IMachineImage
IMachineImage.Jsii$Default
-
Constructor Summary
ModifierConstructorDescriptionprotected
AmazonLinux2022ImageSsmParameter
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
AmazonLinux2022ImageSsmParameter
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionstatic String
Generates a SSM Parameter name for a specific amazon linux 2022 AMI.Methods inherited from class software.amazon.awscdk.services.ec2.AmazonLinuxImageSsmParameterBase
getImage
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, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
AmazonLinux2022ImageSsmParameter
protected AmazonLinux2022ImageSsmParameter(software.amazon.jsii.JsiiObjectRef objRef) -
AmazonLinux2022ImageSsmParameter
protected AmazonLinux2022ImageSsmParameter(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
AmazonLinux2022ImageSsmParameter
@Stability(Stable) public AmazonLinux2022ImageSsmParameter(@NotNull AmazonLinux2022ImageSsmParameterProps props) - Parameters:
props
- This parameter is required.
-
-
Method Details
-
ssmParameterName
@Stability(Stable) @NotNull public static String ssmParameterName(@NotNull AmazonLinux2022ImageSsmParameterProps props) Generates a SSM Parameter name for a specific amazon linux 2022 AMI.Example values:
"/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-x86_64", "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-x86_64", "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-arm64", "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-x86_64", "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-arm64", "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-arm64", "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-x86_64", "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-arm64",
- Parameters:
props
- This parameter is required.
-