Class: Aws::EC2::Types::ImageDiskContainer
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::ImageDiskContainer
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ec2/types.rb
Overview
When making an API call, you may pass ImageDiskContainer data as a hash:
{
description: "String",
device_name: "String",
format: "String",
snapshot_id: "String",
url: "String",
user_bucket: {
s3_bucket: "String",
s3_key: "String",
},
}
Describes the disk container object for an import image task.
Instance Attribute Summary collapse
-
#description ⇒ String
The description of the disk image.
-
#device_name ⇒ String
The block device mapping for the disk.
-
#format ⇒ String
The format of the disk image being imported.
-
#snapshot_id ⇒ String
The ID of the EBS snapshot to be used for importing the snapshot.
-
#url ⇒ String
The URL to the Amazon S3-based disk image being imported.
-
#user_bucket ⇒ Types::UserBucket
The S3 bucket for the disk image.
Instance Attribute Details
#description ⇒ String
The description of the disk image.
21178 21179 21180 21181 21182 21183 21184 21185 21186 |
# File 'lib/aws-sdk-ec2/types.rb', line 21178 class ImageDiskContainer < Struct.new( :description, :device_name, :format, :snapshot_id, :url, :user_bucket) include Aws::Structure end |
#device_name ⇒ String
The block device mapping for the disk.
21178 21179 21180 21181 21182 21183 21184 21185 21186 |
# File 'lib/aws-sdk-ec2/types.rb', line 21178 class ImageDiskContainer < Struct.new( :description, :device_name, :format, :snapshot_id, :url, :user_bucket) include Aws::Structure end |
#format ⇒ String
The format of the disk image being imported.
Valid values: ‘VHD` | `VMDK` | `OVA`
21178 21179 21180 21181 21182 21183 21184 21185 21186 |
# File 'lib/aws-sdk-ec2/types.rb', line 21178 class ImageDiskContainer < Struct.new( :description, :device_name, :format, :snapshot_id, :url, :user_bucket) include Aws::Structure end |
#snapshot_id ⇒ String
The ID of the EBS snapshot to be used for importing the snapshot.
21178 21179 21180 21181 21182 21183 21184 21185 21186 |
# File 'lib/aws-sdk-ec2/types.rb', line 21178 class ImageDiskContainer < Struct.new( :description, :device_name, :format, :snapshot_id, :url, :user_bucket) include Aws::Structure end |
#url ⇒ String
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://..)
21178 21179 21180 21181 21182 21183 21184 21185 21186 |
# File 'lib/aws-sdk-ec2/types.rb', line 21178 class ImageDiskContainer < Struct.new( :description, :device_name, :format, :snapshot_id, :url, :user_bucket) include Aws::Structure end |
#user_bucket ⇒ Types::UserBucket
The S3 bucket for the disk image.
21178 21179 21180 21181 21182 21183 21184 21185 21186 |
# File 'lib/aws-sdk-ec2/types.rb', line 21178 class ImageDiskContainer < Struct.new( :description, :device_name, :format, :snapshot_id, :url, :user_bucket) include Aws::Structure end |