Struct aws_sdk_imagebuilder::types::ImageSummary
source · #[non_exhaustive]pub struct ImageSummary { /* private fields */ }
Expand description
An image summary.
Implementations§
source§impl ImageSummary
impl ImageSummary
sourcepub fn type(&self) -> Option<&ImageType>
pub fn type(&self) -> Option<&ImageType>
Specifies whether this image produces an AMI or a container image.
sourcepub fn platform(&self) -> Option<&Platform>
pub fn platform(&self) -> Option<&Platform>
The image operating system platform, such as Linux or Windows.
sourcepub fn os_version(&self) -> Option<&str>
pub fn os_version(&self) -> Option<&str>
The operating system version of the instances that launch from this image. For example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
sourcepub fn state(&self) -> Option<&ImageState>
pub fn state(&self) -> Option<&ImageState>
The state of the image.
sourcepub fn date_created(&self) -> Option<&str>
pub fn date_created(&self) -> Option<&str>
The date on which Image Builder created this image.
sourcepub fn output_resources(&self) -> Option<&OutputResources>
pub fn output_resources(&self) -> Option<&OutputResources>
The output resources that Image Builder produced when it created this image.
The tags that apply to this image.
sourcepub fn build_type(&self) -> Option<&BuildType>
pub fn build_type(&self) -> Option<&BuildType>
Indicates the type of build that created this image. The build can be initiated in the following ways:
-
USER_INITIATED – A manual pipeline build request.
-
SCHEDULED – A pipeline build initiated by a cron expression in the Image Builder pipeline, or from EventBridge.
-
IMPORT – A VM import created the image to use as the base image for the recipe.
sourcepub fn image_source(&self) -> Option<&ImageSource>
pub fn image_source(&self) -> Option<&ImageSource>
The origin of the base image that Image Builder used to build this image.
source§impl ImageSummary
impl ImageSummary
sourcepub fn builder() -> ImageSummaryBuilder
pub fn builder() -> ImageSummaryBuilder
Creates a new builder-style object to manufacture ImageSummary
.
Trait Implementations§
source§impl Clone for ImageSummary
impl Clone for ImageSummary
source§fn clone(&self) -> ImageSummary
fn clone(&self) -> ImageSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ImageSummary
impl Debug for ImageSummary
source§impl PartialEq<ImageSummary> for ImageSummary
impl PartialEq<ImageSummary> for ImageSummary
source§fn eq(&self, other: &ImageSummary) -> bool
fn eq(&self, other: &ImageSummary) -> bool
self
and other
values to be equal, and is used
by ==
.