Class: Aws::WorkspacesInstances::Types::CreateVolumeRequest

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#availability_zoneString

Availability zone for the volume.

Returns:

  • (String)


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_tokenString

Unique token to prevent duplicate volume creation.

**A suitable default value is auto-generated.** You should normally not need to pass this option.

Returns:

  • (String)


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

#encryptedBoolean

Indicates if the volume should be encrypted.

Returns:

  • (Boolean)


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

#iopsInteger

Input/output operations per second for the volume.

Returns:

  • (Integer)


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_idString

KMS key for volume encryption.

Returns:

  • (String)


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_gbInteger

Volume size in gigabytes.

Returns:

  • (Integer)


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_idString

Source snapshot for volume creation.

Returns:

  • (String)


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_specificationsArray<Types::TagSpecification>

Metadata tags for the volume.

Returns:



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

#throughputInteger

Volume throughput performance.

Returns:

  • (Integer)


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_typeString

Type of EBS volume.

Returns:

  • (String)


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