Class: Aws::WorkspacesInstances::Types::CreateVolumeRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::WorkspacesInstances::Types::CreateVolumeRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-workspacesinstances/types.rb
Overview
Specifies volume creation parameters.
Constant Summary collapse
- SENSITIVE =
[:client_token, :kms_key_id]
Instance Attribute Summary collapse
-
#availability_zone ⇒ String
Availability zone for the volume.
-
#client_token ⇒ String
Unique token to prevent duplicate volume creation.
-
#encrypted ⇒ Boolean
Indicates if the volume should be encrypted.
-
#iops ⇒ Integer
Input/output operations per second for the volume.
-
#kms_key_id ⇒ String
KMS key for volume encryption.
-
#size_in_gb ⇒ Integer
Volume size in gigabytes.
-
#snapshot_id ⇒ String
Source snapshot for volume creation.
-
#tag_specifications ⇒ Array<Types::TagSpecification>
Metadata tags for the volume.
-
#throughput ⇒ Integer
Volume throughput performance.
-
#volume_type ⇒ String
Type of EBS volume.
Instance Attribute Details
#availability_zone ⇒ String
Availability zone for the volume.
243 244 245 246 247 248 249 250 251 252 253 254 255 256 |
# File 'lib/aws-sdk-workspacesinstances/types.rb', line 243 class CreateVolumeRequest < Struct.new( :availability_zone, :client_token, :encrypted, :iops, :kms_key_id, :size_in_gb, :snapshot_id, :tag_specifications, :throughput, :volume_type) SENSITIVE = [:client_token, :kms_key_id] include Aws::Structure end |
#client_token ⇒ String
Unique token to prevent duplicate volume creation.
**A suitable default value is auto-generated.** You should normally not need to pass this option.
243 244 245 246 247 248 249 250 251 252 253 254 255 256 |
# File 'lib/aws-sdk-workspacesinstances/types.rb', line 243 class CreateVolumeRequest < Struct.new( :availability_zone, :client_token, :encrypted, :iops, :kms_key_id, :size_in_gb, :snapshot_id, :tag_specifications, :throughput, :volume_type) SENSITIVE = [:client_token, :kms_key_id] include Aws::Structure end |
#encrypted ⇒ Boolean
Indicates if the volume should be encrypted.
243 244 245 246 247 248 249 250 251 252 253 254 255 256 |
# File 'lib/aws-sdk-workspacesinstances/types.rb', line 243 class CreateVolumeRequest < Struct.new( :availability_zone, :client_token, :encrypted, :iops, :kms_key_id, :size_in_gb, :snapshot_id, :tag_specifications, :throughput, :volume_type) SENSITIVE = [:client_token, :kms_key_id] include Aws::Structure end |
#iops ⇒ Integer
Input/output operations per second for the volume.
243 244 245 246 247 248 249 250 251 252 253 254 255 256 |
# File 'lib/aws-sdk-workspacesinstances/types.rb', line 243 class CreateVolumeRequest < Struct.new( :availability_zone, :client_token, :encrypted, :iops, :kms_key_id, :size_in_gb, :snapshot_id, :tag_specifications, :throughput, :volume_type) SENSITIVE = [:client_token, :kms_key_id] include Aws::Structure end |
#kms_key_id ⇒ String
KMS key for volume encryption.
243 244 245 246 247 248 249 250 251 252 253 254 255 256 |
# File 'lib/aws-sdk-workspacesinstances/types.rb', line 243 class CreateVolumeRequest < Struct.new( :availability_zone, :client_token, :encrypted, :iops, :kms_key_id, :size_in_gb, :snapshot_id, :tag_specifications, :throughput, :volume_type) SENSITIVE = [:client_token, :kms_key_id] include Aws::Structure end |
#size_in_gb ⇒ Integer
Volume size in gigabytes.
243 244 245 246 247 248 249 250 251 252 253 254 255 256 |
# File 'lib/aws-sdk-workspacesinstances/types.rb', line 243 class CreateVolumeRequest < Struct.new( :availability_zone, :client_token, :encrypted, :iops, :kms_key_id, :size_in_gb, :snapshot_id, :tag_specifications, :throughput, :volume_type) SENSITIVE = [:client_token, :kms_key_id] include Aws::Structure end |
#snapshot_id ⇒ String
Source snapshot for volume creation.
243 244 245 246 247 248 249 250 251 252 253 254 255 256 |
# File 'lib/aws-sdk-workspacesinstances/types.rb', line 243 class CreateVolumeRequest < Struct.new( :availability_zone, :client_token, :encrypted, :iops, :kms_key_id, :size_in_gb, :snapshot_id, :tag_specifications, :throughput, :volume_type) SENSITIVE = [:client_token, :kms_key_id] include Aws::Structure end |
#tag_specifications ⇒ Array<Types::TagSpecification>
Metadata tags for the volume.
243 244 245 246 247 248 249 250 251 252 253 254 255 256 |
# File 'lib/aws-sdk-workspacesinstances/types.rb', line 243 class CreateVolumeRequest < Struct.new( :availability_zone, :client_token, :encrypted, :iops, :kms_key_id, :size_in_gb, :snapshot_id, :tag_specifications, :throughput, :volume_type) SENSITIVE = [:client_token, :kms_key_id] include Aws::Structure end |
#throughput ⇒ Integer
Volume throughput performance.
243 244 245 246 247 248 249 250 251 252 253 254 255 256 |
# File 'lib/aws-sdk-workspacesinstances/types.rb', line 243 class CreateVolumeRequest < Struct.new( :availability_zone, :client_token, :encrypted, :iops, :kms_key_id, :size_in_gb, :snapshot_id, :tag_specifications, :throughput, :volume_type) SENSITIVE = [:client_token, :kms_key_id] include Aws::Structure end |
#volume_type ⇒ String
Type of EBS volume.
243 244 245 246 247 248 249 250 251 252 253 254 255 256 |
# File 'lib/aws-sdk-workspacesinstances/types.rb', line 243 class CreateVolumeRequest < Struct.new( :availability_zone, :client_token, :encrypted, :iops, :kms_key_id, :size_in_gb, :snapshot_id, :tag_specifications, :throughput, :volume_type) SENSITIVE = [:client_token, :kms_key_id] include Aws::Structure end |