Skip to content

EC2  >  Structures  >  ExportToS3Task

ExportToS3Task

Structure Class

ExportToS3Task dataclass

Bases: _SerdeShape

Describes the format and location for the export task.

Attributes

container_format class-attribute instance-attribute
container_format: str | None = ...

The container format used to combine disk images with metadata (such as OVF). If absent, only the disk image is exported.

disk_image_format class-attribute instance-attribute
disk_image_format: str | None = ...

The format for the exported image.

s3_bucket class-attribute instance-attribute
s3_bucket: str | None = ...

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 class-attribute instance-attribute
s3_key: str | None = ...

The encryption key for your S3 bucket.