Class: Aws::EC2::Types::DiskImageDetail

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

Overview

Note:

When making an API call, you may pass DiskImageDetail data as a hash:

{
  bytes: 1, # required
  format: "VMDK", # required, accepts VMDK, RAW, VHD
  import_manifest_url: "String", # required
}

Describes a disk image.

Instance Attribute Summary collapse

Instance Attribute Details

#bytesInteger

The size of the disk image, in GiB.

Returns:

  • (Integer)


18235
18236
18237
18238
18239
18240
# File 'lib/aws-sdk-ec2/types.rb', line 18235

class DiskImageDetail < Struct.new(
  :bytes,
  :format,
  :import_manifest_url)
  include Aws::Structure
end

#formatString

The disk image format.

Returns:

  • (String)


18235
18236
18237
18238
18239
18240
# File 'lib/aws-sdk-ec2/types.rb', line 18235

class DiskImageDetail < Struct.new(
  :bytes,
  :format,
  :import_manifest_url)
  include Aws::Structure
end

#import_manifest_urlString

A presigned URL for the import manifest stored in Amazon S3 and presented here as an Amazon S3 presigned URL. For information about creating a presigned URL for an Amazon S3 object, read the “Query String Request Authentication Alternative” section of the

Authenticating REST Requests][1

topic in the *Amazon Simple

Storage Service Developer Guide*.

For information about the import manifest referenced by this API action, see [VM Import Manifest].

[1]: docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html [2]: docs.aws.amazon.com/AWSEC2/latest/APIReference/manifest.html

Returns:

  • (String)


18235
18236
18237
18238
18239
18240
# File 'lib/aws-sdk-ec2/types.rb', line 18235

class DiskImageDetail < Struct.new(
  :bytes,
  :format,
  :import_manifest_url)
  include Aws::Structure
end