Skip to content

EC2  >  Structures  >  ExportToS3TaskSpecification

ExportToS3TaskSpecification

Structure Class

ExportToS3TaskSpecification dataclass

Bases: _SerdeShape

Describes an export instance 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_prefix class-attribute instance-attribute
s3_prefix: str | None = ...

The image is written to a single object in the Amazon S3 bucket at the S3 key s3prefix + exportTaskId + '.' + diskImageFormat.