Struct aws_sdk_imagebuilder::model::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
sourceimpl 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.
sourceimpl S3ExportConfiguration
impl S3ExportConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture S3ExportConfiguration
Trait Implementations
sourceimpl Clone for S3ExportConfiguration
impl Clone for S3ExportConfiguration
sourcefn clone(&self) -> S3ExportConfiguration
fn clone(&self) -> S3ExportConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for S3ExportConfiguration
impl Debug for S3ExportConfiguration
sourceimpl PartialEq<S3ExportConfiguration> for S3ExportConfiguration
impl PartialEq<S3ExportConfiguration> for S3ExportConfiguration
sourcefn eq(&self, other: &S3ExportConfiguration) -> bool
fn eq(&self, other: &S3ExportConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &S3ExportConfiguration) -> bool
fn ne(&self, other: &S3ExportConfiguration) -> bool
This method tests for !=
.
impl StructuralPartialEq for S3ExportConfiguration
Auto Trait Implementations
impl RefUnwindSafe for S3ExportConfiguration
impl Send for S3ExportConfiguration
impl Sync for S3ExportConfiguration
impl Unpin for S3ExportConfiguration
impl UnwindSafe for S3ExportConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more