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

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

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


23128
23129
23130
23131
23132
23133
23134
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 23128

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

#formatString

The format of the disk image being imported.

Valid values: RAW | VHD | VMDK | OVA

Returns:

  • (String)


23128
23129
23130
23131
23132
23133
23134
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 23128

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)


23128
23129
23130
23131
23132
23133
23134
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 23128

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

#user_bucketTypes::UserBucket

The S3 bucket for the disk image.

Returns:



23128
23129
23130
23131
23132
23133
23134
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 23128

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