Class: Aws::EC2::Types::SnapshotDiskContainer

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 SnapshotDiskContainer data as a hash:

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

The disk container object for the import snapshot request.

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

The description of the disk image being imported.

Returns:

  • (String)


33581
33582
33583
33584
33585
33586
33587
# File 'lib/aws-sdk-ec2/types.rb', line 33581

class SnapshotDiskContainer < Struct.new(
  :description,
  :format,
  :url,
  :user_bucket)
  include Aws::Structure
end

#formatString

The format of the disk image being imported.

Valid values: ‘VHD` | `VMDK`

Returns:

  • (String)


33581
33582
33583
33584
33585
33586
33587
# File 'lib/aws-sdk-ec2/types.rb', line 33581

class SnapshotDiskContainer < Struct.new(
  :description,
  :format,
  :url,
  :user_bucket)
  include Aws::Structure
end

#urlString

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

Returns:

  • (String)


33581
33582
33583
33584
33585
33586
33587
# File 'lib/aws-sdk-ec2/types.rb', line 33581

class SnapshotDiskContainer < Struct.new(
  :description,
  :format,
  :url,
  :user_bucket)
  include Aws::Structure
end

#user_bucketTypes::UserBucket

The S3 bucket for the disk image.

Returns:



33581
33582
33583
33584
33585
33586
33587
# File 'lib/aws-sdk-ec2/types.rb', line 33581

class SnapshotDiskContainer < Struct.new(
  :description,
  :format,
  :url,
  :user_bucket)
  include Aws::Structure
end