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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Note:

When making an API call, you may pass ImageDiskContainer data as a 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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

The description of the disk image.

Returns:

  • (String)


28319
28320
28321
28322
28323
28324
28325
28326
28327
28328
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 28319

class ImageDiskContainer < Struct.new(
  :description,
  :device_name,
  :format,
  :snapshot_id,
  :url,
  :user_bucket)
  SENSITIVE = []
  include Aws::Structure
end

#device_nameString

The block device mapping for the disk.

Returns:

  • (String)


28319
28320
28321
28322
28323
28324
28325
28326
28327
28328
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 28319

class ImageDiskContainer < Struct.new(
  :description,
  :device_name,
  :format,
  :snapshot_id,
  :url,
  :user_bucket)
  SENSITIVE = []
  include Aws::Structure
end

#formatString

The format of the disk image being imported.

Valid values: OVA | VHD | VHDX |VMDK

Returns:

  • (String)


28319
28320
28321
28322
28323
28324
28325
28326
28327
28328
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 28319

class ImageDiskContainer < Struct.new(
  :description,
  :device_name,
  :format,
  :snapshot_id,
  :url,
  :user_bucket)
  SENSITIVE = []
  include Aws::Structure
end

#snapshot_idString

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

Returns:

  • (String)


28319
28320
28321
28322
28323
28324
28325
28326
28327
28328
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 28319

class ImageDiskContainer < Struct.new(
  :description,
  :device_name,
  :format,
  :snapshot_id,
  :url,
  :user_bucket)
  SENSITIVE = []
  include Aws::Structure
end

#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)


28319
28320
28321
28322
28323
28324
28325
28326
28327
28328
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 28319

class ImageDiskContainer < Struct.new(
  :description,
  :device_name,
  :format,
  :snapshot_id,
  :url,
  :user_bucket)
  SENSITIVE = []
  include Aws::Structure
end

#user_bucketTypes::UserBucket

The S3 bucket for the disk image.

Returns:



28319
28320
28321
28322
28323
28324
28325
28326
28327
28328
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 28319

class ImageDiskContainer < Struct.new(
  :description,
  :device_name,
  :format,
  :snapshot_id,
  :url,
  :user_bucket)
  SENSITIVE = []
  include Aws::Structure
end