Struct aws_sdk_imagebuilder::types::S3ExportConfiguration
source · #[non_exhaustive]pub struct S3ExportConfiguration {
pub role_name: Option<String>,
pub disk_image_format: Option<DiskImageFormat>,
pub s3_bucket: Option<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: Option<String>
The name of the role that grants VM Import/Export permission to export images to your S3 bucket.
disk_image_format: Option<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: Option<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) -> Option<&str>
pub fn role_name(&self) -> Option<&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) -> Option<&DiskImageFormat>
pub fn disk_image_format(&self) -> Option<&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<S3ExportConfiguration> for S3ExportConfiguration
impl PartialEq<S3ExportConfiguration> 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 ==
.