Struct aws_sdk_ec2::types::ExportToS3Task
source · #[non_exhaustive]pub struct ExportToS3Task {
pub container_format: Option<ContainerFormat>,
pub disk_image_format: Option<DiskImageFormat>,
pub s3_bucket: Option<String>,
pub s3_key: Option<String>,
}
Expand description
Describes the format and location for the export task.
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.container_format: Option<ContainerFormat>
The container format used to combine disk images with metadata (such as OVF). If absent, only the disk image is exported.
disk_image_format: Option<DiskImageFormat>
The format for the exported image.
s3_bucket: Option<String>
The Amazon S3 bucket for the destination image. The destination bucket must exist and have an access control list (ACL) attached that specifies the Region-specific canonical account ID for the Grantee
. For more information about the ACL to your S3 bucket, see Prerequisites in the VM Import/Export User Guide.
s3_key: Option<String>
The encryption key for your S3 bucket.
Implementations§
source§impl ExportToS3Task
impl ExportToS3Task
sourcepub fn container_format(&self) -> Option<&ContainerFormat>
pub fn container_format(&self) -> Option<&ContainerFormat>
The container format used to combine disk images with metadata (such as OVF). If absent, only the disk image is exported.
sourcepub fn disk_image_format(&self) -> Option<&DiskImageFormat>
pub fn disk_image_format(&self) -> Option<&DiskImageFormat>
The format for the exported image.
sourcepub fn s3_bucket(&self) -> Option<&str>
pub fn s3_bucket(&self) -> Option<&str>
The Amazon S3 bucket for the destination image. The destination bucket must exist and have an access control list (ACL) attached that specifies the Region-specific canonical account ID for the Grantee
. For more information about the ACL to your S3 bucket, see Prerequisites in the VM Import/Export User Guide.
source§impl ExportToS3Task
impl ExportToS3Task
sourcepub fn builder() -> ExportToS3TaskBuilder
pub fn builder() -> ExportToS3TaskBuilder
Creates a new builder-style object to manufacture ExportToS3Task
.
Trait Implementations§
source§impl Clone for ExportToS3Task
impl Clone for ExportToS3Task
source§fn clone(&self) -> ExportToS3Task
fn clone(&self) -> ExportToS3Task
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExportToS3Task
impl Debug for ExportToS3Task
source§impl PartialEq<ExportToS3Task> for ExportToS3Task
impl PartialEq<ExportToS3Task> for ExportToS3Task
source§fn eq(&self, other: &ExportToS3Task) -> bool
fn eq(&self, other: &ExportToS3Task) -> bool
self
and other
values to be equal, and is used
by ==
.