« blib/lib/Paws/EC2/LaunchTemplateEbsBlockDevice.pm
↑ Summary
blib/lib/Paws/EC2/LaunchTemplateElasticInferenceAccelerator.pm »
| 1 | package Paws::EC2::LaunchTemplateEbsBlockDeviceRequest; | ||
| 2 | use Moose; | ||
| 3 | has DeleteOnTermination => (is => 'ro', isa => 'Bool'); | ||
| 4 | has Encrypted => (is => 'ro', isa => 'Bool'); | ||
| 5 | has Iops => (is => 'ro', isa => 'Int'); | ||
| 6 | has KmsKeyId => (is => 'ro', isa => 'Str'); | ||
| 7 | has SnapshotId => (is => 'ro', isa => 'Str'); | ||
| 8 | has Throughput => (is => 'ro', isa => 'Int'); | ||
| 9 | has VolumeSize => (is => 'ro', isa => 'Int'); | ||
| 10 | has VolumeType => (is => 'ro', isa => 'Str'); | ||
| 11 | 1; | ||
| 12 | |||
| 13 | ### main pod documentation begin ### | ||
| 14 | |||
| 15 | =head1 NAME | ||
| 16 | |||
| 17 | Paws::EC2::LaunchTemplateEbsBlockDeviceRequest | ||
| 18 | |||
| 19 | =head1 USAGE | ||
| 20 | |||
| 21 | This class represents one of two things: | ||
| 22 | |||
| 23 | =head3 Arguments in a call to a service | ||
| 24 | |||
| 25 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 26 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 27 | |||
| 28 | As an example, if Att1 is expected to be a Paws::EC2::LaunchTemplateEbsBlockDeviceRequest object: | ||
| 29 | |||
| 30 | $service_obj->Method(Att1 => { DeleteOnTermination => $value, ..., VolumeType => $value }); | ||
| 31 | |||
| 32 | =head3 Results returned from an API call | ||
| 33 | |||
| 34 | Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::LaunchTemplateEbsBlockDeviceRequest object: | ||
| 35 | |||
| 36 | $result = $service_obj->Method(...); | ||
| 37 | $result->Att1->DeleteOnTermination | ||
| 38 | |||
| 39 | =head1 DESCRIPTION | ||
| 40 | |||
| 41 | This class has no description | ||
| 42 | |||
| 43 | =head1 ATTRIBUTES | ||
| 44 | |||
| 45 | |||
| 46 | =head2 DeleteOnTermination => Bool | ||
| 47 | |||
| 48 | Indicates whether the EBS volume is deleted on instance termination. | ||
| 49 | |||
| 50 | |||
| 51 | =head2 Encrypted => Bool | ||
| 52 | |||
| 53 | Indicates whether the EBS volume is encrypted. Encrypted volumes can | ||
| 54 | only be attached to instances that support Amazon EBS encryption. If | ||
| 55 | you are creating a volume from a snapshot, you can't specify an | ||
| 56 | encryption value. | ||
| 57 | |||
| 58 | |||
| 59 | =head2 Iops => Int | ||
| 60 | |||
| 61 | The number of I/O operations per second (IOPS). For C<gp3>, C<io1>, and | ||
| 62 | C<io2> volumes, this represents the number of IOPS that are provisioned | ||
| 63 | for the volume. For C<gp2> volumes, this represents the baseline | ||
| 64 | performance of the volume and the rate at which the volume accumulates | ||
| 65 | I/O credits for bursting. | ||
| 66 | |||
| 67 | The following are the supported values for each volume type: | ||
| 68 | |||
| 69 | =over | ||
| 70 | |||
| 71 | =item * | ||
| 72 | |||
| 73 | C<gp3>: 3,000-16,000 IOPS | ||
| 74 | |||
| 75 | =item * | ||
| 76 | |||
| 77 | C<io1>: 100-64,000 IOPS | ||
| 78 | |||
| 79 | =item * | ||
| 80 | |||
| 81 | C<io2>: 100-64,000 IOPS | ||
| 82 | |||
| 83 | =back | ||
| 84 | |||
| 85 | For C<io1> and C<io2> volumes, we guarantee 64,000 IOPS only for | ||
| 86 | Instances built on the Nitro System | ||
| 87 | (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances). | ||
| 88 | Other instance families guarantee performance up to 32,000 IOPS. | ||
| 89 | |||
| 90 | This parameter is supported for C<io1>, C<io2>, and C<gp3> volumes | ||
| 91 | only. This parameter is not supported for C<gp2>, C<st1>, C<sc1>, or | ||
| 92 | C<standard> volumes. | ||
| 93 | |||
| 94 | |||
| 95 | =head2 KmsKeyId => Str | ||
| 96 | |||
| 97 | The ARN of the symmetric AWS Key Management Service (AWS KMS) CMK used | ||
| 98 | for encryption. | ||
| 99 | |||
| 100 | |||
| 101 | =head2 SnapshotId => Str | ||
| 102 | |||
| 103 | The ID of the snapshot. | ||
| 104 | |||
| 105 | |||
| 106 | =head2 Throughput => Int | ||
| 107 | |||
| 108 | The throughput to provision for a C<gp3> volume, with a maximum of | ||
| 109 | 1,000 MiB/s. | ||
| 110 | |||
| 111 | Valid Range: Minimum value of 125. Maximum value of 1000. | ||
| 112 | |||
| 113 | |||
| 114 | =head2 VolumeSize => Int | ||
| 115 | |||
| 116 | The size of the volume, in GiBs. You must specify either a snapshot ID | ||
| 117 | or a volume size. The following are the supported volumes sizes for | ||
| 118 | each volume type: | ||
| 119 | |||
| 120 | =over | ||
| 121 | |||
| 122 | =item * | ||
| 123 | |||
| 124 | C<gp2> and C<gp3>: 1-16,384 | ||
| 125 | |||
| 126 | =item * | ||
| 127 | |||
| 128 | C<io1> and C<io2>: 4-16,384 | ||
| 129 | |||
| 130 | =item * | ||
| 131 | |||
| 132 | C<st1> and C<sc1>: 125-16,384 | ||
| 133 | |||
| 134 | =item * | ||
| 135 | |||
| 136 | C<standard>: 1-1,024 | ||
| 137 | |||
| 138 | =back | ||
| 139 | |||
| 140 | |||
| 141 | |||
| 142 | =head2 VolumeType => Str | ||
| 143 | |||
| 144 | The volume type. For more information, see Amazon EBS volume types | ||
| 145 | (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html) | ||
| 146 | in the I<Amazon Elastic Compute Cloud User Guide>. | ||
| 147 | |||
| 148 | |||
| 149 | |||
| 150 | =head1 SEE ALSO | ||
| 151 | |||
| 152 | This class forms part of L<Paws>, describing an object used in L<Paws::EC2> | ||
| 153 | |||
| 154 | =head1 BUGS and CONTRIBUTIONS | ||
| 155 | |||
| 156 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 157 | |||
| 158 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 159 | |||
| 160 | =cut |