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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

The description of the disk image being imported.

Returns:

  • (String)


46740
46741
46742
46743
46744
46745
46746
46747
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 46740

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

#formatString

The format of the disk image being imported.

Valid values: VHD | VMDK

Returns:

  • (String)


46740
46741
46742
46743
46744
46745
46746
46747
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 46740

class SnapshotDiskContainer < Struct.new(
  :description,
  :format,
  :url,
  :user_bucket)
  SENSITIVE = []
  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)


46740
46741
46742
46743
46744
46745
46746
46747
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 46740

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

#user_bucketTypes::UserBucket

The Amazon S3 bucket for the disk image.

Returns:



46740
46741
46742
46743
46744
46745
46746
46747
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 46740

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