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

Class: Aws::OpsWorks::Types::VolumeConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb

Overview

Note:

When making an API call, you may pass VolumeConfiguration data as a hash:

{
  mount_point: "String", # required
  raid_level: 1,
  number_of_disks: 1, # required
  size: 1, # required
  volume_type: "String",
  iops: 1,
  encrypted: false,
}

Describes an Amazon EBS volume configuration.

Instance Attribute Summary collapse

Instance Attribute Details

#encryptedBoolean

Specifies whether an Amazon EBS volume is encrypted. For more information, see Amazon EBS Encryption.

Returns:

  • (Boolean)


7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 7237

class VolumeConfiguration < Struct.new(
  :mount_point,
  :raid_level,
  :number_of_disks,
  :size,
  :volume_type,
  :iops,
  :encrypted)
  include Aws::Structure
end

#iopsInteger

For PIOPS volumes, the IOPS per disk.

Returns:

  • (Integer)


7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 7237

class VolumeConfiguration < Struct.new(
  :mount_point,
  :raid_level,
  :number_of_disks,
  :size,
  :volume_type,
  :iops,
  :encrypted)
  include Aws::Structure
end

#mount_pointString

The volume mount point. For example "/dev/sdh".

Returns:

  • (String)


7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 7237

class VolumeConfiguration < Struct.new(
  :mount_point,
  :raid_level,
  :number_of_disks,
  :size,
  :volume_type,
  :iops,
  :encrypted)
  include Aws::Structure
end

#number_of_disksInteger

The number of disks in the volume.

Returns:

  • (Integer)


7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 7237

class VolumeConfiguration < Struct.new(
  :mount_point,
  :raid_level,
  :number_of_disks,
  :size,
  :volume_type,
  :iops,
  :encrypted)
  include Aws::Structure
end

#raid_levelInteger

The volume RAID level.

Returns:

  • (Integer)


7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 7237

class VolumeConfiguration < Struct.new(
  :mount_point,
  :raid_level,
  :number_of_disks,
  :size,
  :volume_type,
  :iops,
  :encrypted)
  include Aws::Structure
end

#sizeInteger

The volume size.

Returns:

  • (Integer)


7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 7237

class VolumeConfiguration < Struct.new(
  :mount_point,
  :raid_level,
  :number_of_disks,
  :size,
  :volume_type,
  :iops,
  :encrypted)
  include Aws::Structure
end

#volume_typeString

The volume type. For more information, see Amazon EBS Volume Types.

  • standard - Magnetic. Magnetic volumes must have a minimum size of 1 GiB and a maximum size of 1024 GiB.

  • io1 - Provisioned IOPS (SSD). PIOPS volumes must have a minimum size of 4 GiB and a maximum size of 16384 GiB.

  • gp2 - General Purpose (SSD). General purpose volumes must have a minimum size of 1 GiB and a maximum size of 16384 GiB.

  • st1 - Throughput Optimized hard disk drive (HDD). Throughput optimized HDD volumes must have a minimum size of 500 GiB and a maximum size of 16384 GiB.

  • sc1 - Cold HDD. Cold HDD volumes must have a minimum size of 500 GiB and a maximum size of 16384 GiB.

Returns:

  • (String)


7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 7237

class VolumeConfiguration < Struct.new(
  :mount_point,
  :raid_level,
  :number_of_disks,
  :size,
  :volume_type,
  :iops,
  :encrypted)
  include Aws::Structure
end