Skip to content

EC2  >  Structures  >  ImageDiskContainer

ImageDiskContainer

Structure Class

ImageDiskContainer dataclass

Bases: _SerdeShape

Describes the disk container object for an import image task.

Attributes

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

The description of the disk image.

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

The block device mapping for the disk.

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

The format of the disk image being imported.

Valid values: OVA | VHD | VHDX | VMDK | RAW

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

The ID of the EBS snapshot to be used for importing the snapshot.

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

The URL to the Amazon S3-based disk image being imported. The URL can either be a https URL (https://..) or an Amazon S3 URL (s3://..)

user_bucket class-attribute instance-attribute
user_bucket: UserBucket | None = ...

The S3 bucket for the disk image.