Struct aws_sdk_ec2::types::ExportToS3TaskSpecification
source · #[non_exhaustive]pub struct ExportToS3TaskSpecification {
pub container_format: Option<ContainerFormat>,
pub disk_image_format: Option<DiskImageFormat>,
pub s3_bucket: Option<String>,
pub s3_prefix: Option<String>,
}
Expand description
Describes an export instance 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_prefix: Option<String>
The image is written to a single object in the Amazon S3 bucket at the S3 key s3prefix + exportTaskId + '.' + diskImageFormat.
Implementations§
source§impl ExportToS3TaskSpecification
impl ExportToS3TaskSpecification
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 ExportToS3TaskSpecification
impl ExportToS3TaskSpecification
sourcepub fn builder() -> ExportToS3TaskSpecificationBuilder
pub fn builder() -> ExportToS3TaskSpecificationBuilder
Creates a new builder-style object to manufacture ExportToS3TaskSpecification
.
Trait Implementations§
source§impl Clone for ExportToS3TaskSpecification
impl Clone for ExportToS3TaskSpecification
source§fn clone(&self) -> ExportToS3TaskSpecification
fn clone(&self) -> ExportToS3TaskSpecification
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExportToS3TaskSpecification
impl Debug for ExportToS3TaskSpecification
source§impl PartialEq<ExportToS3TaskSpecification> for ExportToS3TaskSpecification
impl PartialEq<ExportToS3TaskSpecification> for ExportToS3TaskSpecification
source§fn eq(&self, other: &ExportToS3TaskSpecification) -> bool
fn eq(&self, other: &ExportToS3TaskSpecification) -> bool
self
and other
values to be equal, and is used
by ==
.