NAME

Paws::OpsWorks::EbsBlockDevice

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::OpsWorks::EbsBlockDevice object:

$service_obj->Method(Att1 => { DeleteOnTermination => $value, ..., VolumeType => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::OpsWorks::EbsBlockDevice object:

$result = $service_obj->Method(...);
$result->Att1->DeleteOnTermination

DESCRIPTION

Describes an Amazon EBS volume. This data type maps directly to the Amazon EC2 EbsBlockDevice (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_EbsBlockDevice.html) data type.

ATTRIBUTES

DeleteOnTermination => Bool

Whether the volume is deleted on instance termination.

Iops => Int

The number of I/O operations per second (IOPS) that the volume supports. For more information, see EbsBlockDevice (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_EbsBlockDevice.html).

SnapshotId => Str

The snapshot ID.

VolumeSize => Int

The volume size, in GiB. For more information, see EbsBlockDevice (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_EbsBlockDevice.html).

VolumeType => Str

The volume type. gp2 for General Purpose (SSD) volumes, io1 for Provisioned IOPS (SSD) volumes, st1 for Throughput Optimized hard disk drives (HDD), sc1 for Cold HDD,and standard for Magnetic volumes.

If you specify the io1 volume type, you must also specify a value for the Iops attribute. The maximum ratio of provisioned IOPS to requested volume size (in GiB) is 50:1. AWS uses the default volume size (in GiB) specified in the AMI attributes to set IOPS to 50 x (volume size).

SEE ALSO

This class forms part of Paws, describing an object used in Paws::OpsWorks

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues