Interface AmazonLinux2023ImageSsmParameterProps
- All Superinterfaces:
AmazonLinuxImageSsmParameterBaseOptions
,AmazonLinuxImageSsmParameterCommonOptions
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AmazonLinux2023ImageSsmParameterProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-09-19T18:11:58.790Z")
@Stability(Stable)
public interface AmazonLinux2023ImageSsmParameterProps
extends software.amazon.jsii.JsiiSerializable, AmazonLinuxImageSsmParameterCommonOptions
Properties specific to al2023 images.
Example:
Vpc vpc; Instance.Builder.create(this, "LatestAl2023") .vpc(vpc) .instanceType(InstanceType.of(InstanceClass.C7G, InstanceSize.LARGE)) .machineImage(MachineImage.latestAmazonLinux2023(AmazonLinux2023ImageSsmParameterProps.builder() .cachedInContext(true) .build())) .build(); // or // or Instance.Builder.create(this, "LatestAl2023") .vpc(vpc) .instanceType(InstanceType.of(InstanceClass.C7G, InstanceSize.LARGE)) // context cache is turned on by default .machineImage(new AmazonLinux2023ImageSsmParameter()) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forAmazonLinux2023ImageSsmParameterProps
static final class
An implementation forAmazonLinux2023ImageSsmParameterProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default AmazonLinux2023Kernel
What kernel version of Amazon Linux to use.Methods inherited from interface software.amazon.awscdk.services.ec2.AmazonLinuxImageSsmParameterBaseOptions
getCachedInContext, getUserData
Methods inherited from interface software.amazon.awscdk.services.ec2.AmazonLinuxImageSsmParameterCommonOptions
getCpuType, getEdition
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getKernel
What kernel version of Amazon Linux to use.Default: AmazonLinux2023Kernel.DEFAULT
-
builder
-