Interface AmazonManagedImageAttributes
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AmazonManagedImageAttributes.Jsii$Proxy
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:50.003Z")
@Stability(Experimental)
public interface AmazonManagedImageAttributes
extends software.amazon.jsii.JsiiSerializable
(experimental) Attributes for importing an Amazon-managed image by name (and optionally a version).
Example:
// Import by name
IImage managedImageByName = AmazonManagedImage.fromAmazonManagedImageName(this, "ManagedImageByName", "amazon-linux-2023-x86");
// Import by attributes with specific version
IImage managedImageByAttributes = AmazonManagedImage.fromAmazonManagedImageAttributes(this, "ManagedImageByAttributes", AmazonManagedImageAttributes.builder()
.imageName("ubuntu-server-22-lts-x86")
.imageVersion("2024.11.25")
.build());
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forAmazonManagedImageAttributesstatic final classAn implementation forAmazonManagedImageAttributes -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getImageName
(experimental) The name of the Amazon-managed image.The provided name must be normalized by converting all alphabetical characters to lowercase, and replacing all spaces and underscores with hyphens.
-
getImageVersion
(experimental) The version of the Amazon-managed image.Default: x.x.x
-
builder
-