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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing VolumeConfiguration as input to an Aws::Client method, you can use a vanilla 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)

    Specifies whether an Amazon EBS volume is encrypted.

#iopsInteger

For PIOPS volumes, the IOPS per disk.

Returns:

  • (Integer)

    For PIOPS volumes, the IOPS per disk.

#mount_pointString

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

Returns:

  • (String)

    The volume mount point.

#number_of_disksInteger

The number of disks in the volume.

Returns:

  • (Integer)

    The number of disks in the volume.

#raid_levelInteger

The volume RAID level.

Returns:

  • (Integer)

    The volume [RAID level][1].

#sizeInteger

The volume size.

Returns:

  • (Integer)

    The volume size.

#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)

    The volume type.