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,
}

Describes an Amazon EBS volume configuration.

Instance Attribute Summary collapse

Instance Attribute Details

#iopsInteger

For PIOPS volumes, the IOPS per disk.

Returns:

  • (Integer)


7050
7051
7052
7053
7054
7055
7056
7057
7058
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 7050

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

#mount_pointString

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

Returns:

  • (String)


7050
7051
7052
7053
7054
7055
7056
7057
7058
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 7050

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

#number_of_disksInteger

The number of disks in the volume.

Returns:

  • (Integer)


7050
7051
7052
7053
7054
7055
7056
7057
7058
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 7050

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

#raid_levelInteger

The volume RAID level.

Returns:

  • (Integer)


7050
7051
7052
7053
7054
7055
7056
7057
7058
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 7050

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

#sizeInteger

The volume size.

Returns:

  • (Integer)


7050
7051
7052
7053
7054
7055
7056
7057
7058
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 7050

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

#volume_typeString

The volume type:

  • standard - Magnetic

  • io1 - Provisioned IOPS (SSD)

  • gp2 - General Purpose (SSD)

Returns:

  • (String)


7050
7051
7052
7053
7054
7055
7056
7057
7058
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 7050

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