Struct aws_sdk_imagebuilder::types::S3ExportConfiguration
source · #[non_exhaustive]pub struct S3ExportConfiguration {
pub role_name: String,
pub disk_image_format: DiskImageFormat,
pub s3_bucket: String,
pub s3_prefix: Option<String>,
}
Expand description
Properties that configure export from your build instance to a compatible file format for your VM.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.role_name: String
The name of the role that grants VM Import/Export permission to export images to your S3 bucket.
disk_image_format: DiskImageFormat
Export the updated image to one of the following supported disk image formats:
-
Virtual Hard Disk (VHD) – Compatible with Citrix Xen and Microsoft Hyper-V virtualization products.
-
Stream-optimized ESX Virtual Machine Disk (VMDK) – Compatible with VMware ESX and VMware vSphere versions 4, 5, and 6.
-
Raw – Raw format.
s3_bucket: String
The S3 bucket in which to store the output disk images for your VM.
s3_prefix: Option<String>
The Amazon S3 path for the bucket where the output disk images for your VM are stored.
Implementations§
source§impl S3ExportConfiguration
impl S3ExportConfiguration
sourcepub fn role_name(&self) -> &str
pub fn role_name(&self) -> &str
The name of the role that grants VM Import/Export permission to export images to your S3 bucket.
sourcepub fn disk_image_format(&self) -> &DiskImageFormat
pub fn disk_image_format(&self) -> &DiskImageFormat
Export the updated image to one of the following supported disk image formats:
-
Virtual Hard Disk (VHD) – Compatible with Citrix Xen and Microsoft Hyper-V virtualization products.
-
Stream-optimized ESX Virtual Machine Disk (VMDK) – Compatible with VMware ESX and VMware vSphere versions 4, 5, and 6.
-
Raw – Raw format.
source§impl S3ExportConfiguration
impl S3ExportConfiguration
sourcepub fn builder() -> S3ExportConfigurationBuilder
pub fn builder() -> S3ExportConfigurationBuilder
Creates a new builder-style object to manufacture S3ExportConfiguration
.
Trait Implementations§
source§impl Clone for S3ExportConfiguration
impl Clone for S3ExportConfiguration
source§fn clone(&self) -> S3ExportConfiguration
fn clone(&self) -> S3ExportConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for S3ExportConfiguration
impl Debug for S3ExportConfiguration
source§impl PartialEq for S3ExportConfiguration
impl PartialEq for S3ExportConfiguration
source§fn eq(&self, other: &S3ExportConfiguration) -> bool
fn eq(&self, other: &S3ExportConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for S3ExportConfiguration
Auto Trait Implementations§
impl Freeze for S3ExportConfiguration
impl RefUnwindSafe for S3ExportConfiguration
impl Send for S3ExportConfiguration
impl Sync for S3ExportConfiguration
impl Unpin for S3ExportConfiguration
impl UnwindSafe for S3ExportConfiguration
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more