« blib/lib/Paws/ElastiCache/ReservedCacheNodeMessage.pm
↑ Summary
blib/lib/Paws/ElastiCache/ReservedCacheNodesOfferingMessage.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::ElastiCache::ReservedCacheNodesOffering; | ||
| 3 | use Moose; | ||
| 4 | has CacheNodeType => (is => 'ro', isa => 'Str'); | ||
| 5 | has Duration => (is => 'ro', isa => 'Int'); | ||
| 6 | has FixedPrice => (is => 'ro', isa => 'Num'); | ||
| 7 | has OfferingType => (is => 'ro', isa => 'Str'); | ||
| 8 | has ProductDescription => (is => 'ro', isa => 'Str'); | ||
| 9 | has RecurringCharges => (is => 'ro', isa => 'ArrayRef[Paws::ElastiCache::RecurringCharge]', request_name => 'RecurringCharge', traits => ['NameInRequest']); | ||
| 10 | has ReservedCacheNodesOfferingId => (is => 'ro', isa => 'Str'); | ||
| 11 | has UsagePrice => (is => 'ro', isa => 'Num'); | ||
| 12 | |||
| 13 | 1; | ||
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::ElastiCache::ReservedCacheNodesOffering | ||
| 20 | |||
| 21 | =head1 USAGE | ||
| 22 | |||
| 23 | This class represents one of two things: | ||
| 24 | |||
| 25 | =head3 Arguments in a call to a service | ||
| 26 | |||
| 27 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 28 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 29 | |||
| 30 | As an example, if Att1 is expected to be a Paws::ElastiCache::ReservedCacheNodesOffering object: | ||
| 31 | |||
| 32 | $service_obj->Method(Att1 => { CacheNodeType => $value, ..., UsagePrice => $value }); | ||
| 33 | |||
| 34 | =head3 Results returned from an API call | ||
| 35 | |||
| 36 | Use accessors for each attribute. If Att1 is expected to be an Paws::ElastiCache::ReservedCacheNodesOffering object: | ||
| 37 | |||
| 38 | $result = $service_obj->Method(...); | ||
| 39 | $result->Att1->CacheNodeType | ||
| 40 | |||
| 41 | =head1 DESCRIPTION | ||
| 42 | |||
| 43 | Describes all of the attributes of a reserved cache node offering. | ||
| 44 | |||
| 45 | =head1 ATTRIBUTES | ||
| 46 | |||
| 47 | |||
| 48 | =head2 CacheNodeType => Str | ||
| 49 | |||
| 50 | The cache node type for the reserved cache node. | ||
| 51 | |||
| 52 | The following node types are supported by ElastiCache. Generally | ||
| 53 | speaking, the current generation types provide more memory and | ||
| 54 | computational power at lower cost when compared to their equivalent | ||
| 55 | previous generation counterparts. | ||
| 56 | |||
| 57 | =over | ||
| 58 | |||
| 59 | =item * | ||
| 60 | |||
| 61 | General purpose: | ||
| 62 | |||
| 63 | =over | ||
| 64 | |||
| 65 | =item * | ||
| 66 | |||
| 67 | Current generation: | ||
| 68 | |||
| 69 | B<M6g node types> (available only for Redis engine version 5.0.6 onward | ||
| 70 | and for Memcached engine version 1.5.16 onward). | ||
| 71 | |||
| 72 | C<cache.m6g.large>, C<cache.m6g.xlarge>, C<cache.m6g.2xlarge>, | ||
| 73 | C<cache.m6g.4xlarge>, C<cache.m6g.8xlarge>, C<cache.m6g.12xlarge>, | ||
| 74 | C<cache.m6g.16xlarge> | ||
| 75 | |||
| 76 | For region availability, see Supported Node Types | ||
| 77 | (https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html#CacheNodes.SupportedTypesByRegion) | ||
| 78 | |||
| 79 | B<M5 node types:> C<cache.m5.large>, C<cache.m5.xlarge>, | ||
| 80 | C<cache.m5.2xlarge>, C<cache.m5.4xlarge>, C<cache.m5.12xlarge>, | ||
| 81 | C<cache.m5.24xlarge> | ||
| 82 | |||
| 83 | B<M4 node types:> C<cache.m4.large>, C<cache.m4.xlarge>, | ||
| 84 | C<cache.m4.2xlarge>, C<cache.m4.4xlarge>, C<cache.m4.10xlarge> | ||
| 85 | |||
| 86 | B<T3 node types:> C<cache.t3.micro>, C<cache.t3.small>, | ||
| 87 | C<cache.t3.medium> | ||
| 88 | |||
| 89 | B<T2 node types:> C<cache.t2.micro>, C<cache.t2.small>, | ||
| 90 | C<cache.t2.medium> | ||
| 91 | |||
| 92 | =item * | ||
| 93 | |||
| 94 | Previous generation: (not recommended) | ||
| 95 | |||
| 96 | B<T1 node types:> C<cache.t1.micro> | ||
| 97 | |||
| 98 | B<M1 node types:> C<cache.m1.small>, C<cache.m1.medium>, | ||
| 99 | C<cache.m1.large>, C<cache.m1.xlarge> | ||
| 100 | |||
| 101 | B<M3 node types:> C<cache.m3.medium>, C<cache.m3.large>, | ||
| 102 | C<cache.m3.xlarge>, C<cache.m3.2xlarge> | ||
| 103 | |||
| 104 | =back | ||
| 105 | |||
| 106 | =item * | ||
| 107 | |||
| 108 | Compute optimized: | ||
| 109 | |||
| 110 | =over | ||
| 111 | |||
| 112 | =item * | ||
| 113 | |||
| 114 | Previous generation: (not recommended) | ||
| 115 | |||
| 116 | B<C1 node types:> C<cache.c1.xlarge> | ||
| 117 | |||
| 118 | =back | ||
| 119 | |||
| 120 | =item * | ||
| 121 | |||
| 122 | Memory optimized: | ||
| 123 | |||
| 124 | =over | ||
| 125 | |||
| 126 | =item * | ||
| 127 | |||
| 128 | Current generation: | ||
| 129 | |||
| 130 | B<R6g node types> (available only for Redis engine version 5.0.6 onward | ||
| 131 | and for Memcached engine version 1.5.16 onward). | ||
| 132 | |||
| 133 | C<cache.r6g.large>, C<cache.r6g.xlarge>, C<cache.r6g.2xlarge>, | ||
| 134 | C<cache.r6g.4xlarge>, C<cache.r6g.8xlarge>, C<cache.r6g.12xlarge>, | ||
| 135 | C<cache.r6g.16xlarge> | ||
| 136 | |||
| 137 | For region availability, see Supported Node Types | ||
| 138 | (https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html#CacheNodes.SupportedTypesByRegion) | ||
| 139 | |||
| 140 | B<R5 node types:> C<cache.r5.large>, C<cache.r5.xlarge>, | ||
| 141 | C<cache.r5.2xlarge>, C<cache.r5.4xlarge>, C<cache.r5.12xlarge>, | ||
| 142 | C<cache.r5.24xlarge> | ||
| 143 | |||
| 144 | B<R4 node types:> C<cache.r4.large>, C<cache.r4.xlarge>, | ||
| 145 | C<cache.r4.2xlarge>, C<cache.r4.4xlarge>, C<cache.r4.8xlarge>, | ||
| 146 | C<cache.r4.16xlarge> | ||
| 147 | |||
| 148 | =item * | ||
| 149 | |||
| 150 | Previous generation: (not recommended) | ||
| 151 | |||
| 152 | B<M2 node types:> C<cache.m2.xlarge>, C<cache.m2.2xlarge>, | ||
| 153 | C<cache.m2.4xlarge> | ||
| 154 | |||
| 155 | B<R3 node types:> C<cache.r3.large>, C<cache.r3.xlarge>, | ||
| 156 | C<cache.r3.2xlarge>, C<cache.r3.4xlarge>, C<cache.r3.8xlarge> | ||
| 157 | |||
| 158 | =back | ||
| 159 | |||
| 160 | =back | ||
| 161 | |||
| 162 | B<Additional node type info> | ||
| 163 | |||
| 164 | =over | ||
| 165 | |||
| 166 | =item * | ||
| 167 | |||
| 168 | All current generation instance types are created in Amazon VPC by | ||
| 169 | default. | ||
| 170 | |||
| 171 | =item * | ||
| 172 | |||
| 173 | Redis append-only files (AOF) are not supported for T1 or T2 instances. | ||
| 174 | |||
| 175 | =item * | ||
| 176 | |||
| 177 | Redis Multi-AZ with automatic failover is not supported on T1 | ||
| 178 | instances. | ||
| 179 | |||
| 180 | =item * | ||
| 181 | |||
| 182 | Redis configuration variables C<appendonly> and C<appendfsync> are not | ||
| 183 | supported on Redis version 2.8.22 and later. | ||
| 184 | |||
| 185 | =back | ||
| 186 | |||
| 187 | |||
| 188 | |||
| 189 | =head2 Duration => Int | ||
| 190 | |||
| 191 | The duration of the offering. in seconds. | ||
| 192 | |||
| 193 | |||
| 194 | =head2 FixedPrice => Num | ||
| 195 | |||
| 196 | The fixed price charged for this offering. | ||
| 197 | |||
| 198 | |||
| 199 | =head2 OfferingType => Str | ||
| 200 | |||
| 201 | The offering type. | ||
| 202 | |||
| 203 | |||
| 204 | =head2 ProductDescription => Str | ||
| 205 | |||
| 206 | The cache engine used by the offering. | ||
| 207 | |||
| 208 | |||
| 209 | =head2 RecurringCharges => ArrayRef[L<Paws::ElastiCache::RecurringCharge>] | ||
| 210 | |||
| 211 | The recurring price charged to run this reserved cache node. | ||
| 212 | |||
| 213 | |||
| 214 | =head2 ReservedCacheNodesOfferingId => Str | ||
| 215 | |||
| 216 | A unique identifier for the reserved cache node offering. | ||
| 217 | |||
| 218 | |||
| 219 | =head2 UsagePrice => Num | ||
| 220 | |||
| 221 | The hourly price charged for this offering. | ||
| 222 | |||
| 223 | |||
| 224 | |||
| 225 | =head1 SEE ALSO | ||
| 226 | |||
| 227 | This class forms part of L<Paws>, describing an object used in L<Paws::ElastiCache> | ||
| 228 | |||
| 229 | =head1 BUGS and CONTRIBUTIONS | ||
| 230 | |||
| 231 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 232 | |||
| 233 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 234 | |||
| 235 | =cut | ||
| 236 |