Struct aws_sdk_imagebuilder::model::InstanceConfiguration
source · #[non_exhaustive]pub struct InstanceConfiguration { /* private fields */ }
Expand description
Defines a custom base AMI and block device mapping configurations of an instance used for building and testing container images.
Implementations§
source§impl InstanceConfiguration
impl InstanceConfiguration
sourcepub fn image(&self) -> Option<&str>
pub fn image(&self) -> Option<&str>
The AMI ID to use as the base image for a container build and test instance. If not specified, Image Builder will use the appropriate ECS-optimized AMI as a base image.
sourcepub fn block_device_mappings(&self) -> Option<&[InstanceBlockDeviceMapping]>
pub fn block_device_mappings(&self) -> Option<&[InstanceBlockDeviceMapping]>
Defines the block devices to attach for building an instance from this Image Builder AMI.
source§impl InstanceConfiguration
impl InstanceConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture InstanceConfiguration
.
Trait Implementations§
source§impl Clone for InstanceConfiguration
impl Clone for InstanceConfiguration
source§fn clone(&self) -> InstanceConfiguration
fn clone(&self) -> InstanceConfiguration
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InstanceConfiguration
impl Debug for InstanceConfiguration
source§impl PartialEq<InstanceConfiguration> for InstanceConfiguration
impl PartialEq<InstanceConfiguration> for InstanceConfiguration
source§fn eq(&self, other: &InstanceConfiguration) -> bool
fn eq(&self, other: &InstanceConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.