Skip to content

ImageDiskContainer

Source code in docs_src/capo_ec2/types/image_disk_container.py
class ImageDiskContainer(TypedDict, closed=True):
    description: NotRequired["capo_ec2.types.string.String"]
    """<p>The description of the disk image.</p>"""
    device_name: NotRequired["capo_ec2.types.string.String"]
    """<p>The block device mapping for the disk.</p>"""
    format: NotRequired["capo_ec2.types.string.String"]
    """<p>The format of the disk image being imported.</p> <p>Valid values: <code>OVA</code> | <code>VHD</code> | <code>VHDX</code> | <code>VMDK</code> | <code>RAW</code> </p>"""
    snapshot_id: NotRequired["capo_ec2.types.snapshot_id.SnapshotId"]
    """<p>The ID of the EBS snapshot to be used for importing the snapshot.</p>"""
    url: NotRequired["capo_ec2.types.sensitive_url.SensitiveUrl"]
    """<p>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://..)</p>"""
    user_bucket: NotRequired["capo_ec2.types.user_bucket.UserBucket"]
    """<p>The S3 bucket for the disk image.</p>"""

description instance-attribute

description: NotRequired[String]

The description of the disk image.

device_name instance-attribute

device_name: NotRequired[String]

The block device mapping for the disk.

format instance-attribute

format: NotRequired[String]

The format of the disk image being imported.

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

snapshot_id instance-attribute

snapshot_id: NotRequired[SnapshotId]

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

url instance-attribute

url: NotRequired[SensitiveUrl]

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 instance-attribute

user_bucket: NotRequired[UserBucket]

The S3 bucket for the disk image.