You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::EC2::Types::ImageDiskContainer

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ImageDiskContainer as input to an Aws::Client method, you can use a vanilla Hash:

{
  description: "String",
  device_name: "String",
  format: "String",
  snapshot_id: "SnapshotId",
  url: "String",
  user_bucket: {
    s3_bucket: "String",
    s3_key: "String",
  },
}

Describes the disk container object for an import image task.

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

The description of the disk image.

Returns:

  • (String)

    The description of the disk image.

#device_nameString

The block device mapping for the disk.

Returns:

  • (String)

    The block device mapping for the disk.

#formatString

The format of the disk image being imported.

Valid values: OVA | VHD | VHDX |VMDK

Returns:

  • (String)

    The format of the disk image being imported.

#snapshot_idString

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

Returns:

  • (String)

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

#urlString

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://..)

Returns:

  • (String)

    The URL to the Amazon S3-based disk image being imported.

#user_bucketTypes::UserBucket

The S3 bucket for the disk image.

Returns: