File Coverage

blib/lib/Paws/ElastiCache/CacheCluster.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::ElastiCache::CacheCluster;
2 1     1   584 use Moose;
  1         3  
  1         8  
3             has AutoMinorVersionUpgrade => (is => 'ro', isa => 'Bool');
4             has CacheClusterCreateTime => (is => 'ro', isa => 'Str');
5             has CacheClusterId => (is => 'ro', isa => 'Str');
6             has CacheClusterStatus => (is => 'ro', isa => 'Str');
7             has CacheNodes => (is => 'ro', isa => 'ArrayRef[Paws::ElastiCache::CacheNode]', request_name => 'CacheNode', traits => ['NameInRequest']);
8             has CacheNodeType => (is => 'ro', isa => 'Str');
9             has CacheParameterGroup => (is => 'ro', isa => 'Paws::ElastiCache::CacheParameterGroupStatus');
10             has CacheSecurityGroups => (is => 'ro', isa => 'ArrayRef[Paws::ElastiCache::CacheSecurityGroupMembership]', request_name => 'CacheSecurityGroup', traits => ['NameInRequest']);
11             has CacheSubnetGroupName => (is => 'ro', isa => 'Str');
12             has ClientDownloadLandingPage => (is => 'ro', isa => 'Str');
13             has ConfigurationEndpoint => (is => 'ro', isa => 'Paws::ElastiCache::Endpoint');
14             has Engine => (is => 'ro', isa => 'Str');
15             has EngineVersion => (is => 'ro', isa => 'Str');
16             has NotificationConfiguration => (is => 'ro', isa => 'Paws::ElastiCache::NotificationConfiguration');
17             has NumCacheNodes => (is => 'ro', isa => 'Int');
18             has PendingModifiedValues => (is => 'ro', isa => 'Paws::ElastiCache::PendingModifiedValues');
19             has PreferredAvailabilityZone => (is => 'ro', isa => 'Str');
20             has PreferredMaintenanceWindow => (is => 'ro', isa => 'Str');
21             has ReplicationGroupId => (is => 'ro', isa => 'Str');
22             has SecurityGroups => (is => 'ro', isa => 'ArrayRef[Paws::ElastiCache::SecurityGroupMembership]');
23             has SnapshotRetentionLimit => (is => 'ro', isa => 'Int');
24             has SnapshotWindow => (is => 'ro', isa => 'Str');
25             1;
26              
27             ### main pod documentation begin ###
28              
29             =head1 NAME
30              
31             Paws::ElastiCache::CacheCluster
32              
33             =head1 USAGE
34              
35             This class represents one of two things:
36              
37             =head3 Arguments in a call to a service
38              
39             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
40             Each attribute should be used as a named argument in the calls that expect this type of object.
41              
42             As an example, if Att1 is expected to be a Paws::ElastiCache::CacheCluster object:
43              
44             $service_obj->Method(Att1 => { AutoMinorVersionUpgrade => $value, ..., SnapshotWindow => $value });
45              
46             =head3 Results returned from an API call
47              
48             Use accessors for each attribute. If Att1 is expected to be an Paws::ElastiCache::CacheCluster object:
49              
50             $result = $service_obj->Method(...);
51             $result->Att1->AutoMinorVersionUpgrade
52              
53             =head1 DESCRIPTION
54              
55             Contains all of the attributes of a specific cache cluster.
56              
57             =head1 ATTRIBUTES
58              
59              
60             =head2 AutoMinorVersionUpgrade => Bool
61              
62             This parameter is currently disabled.
63              
64              
65             =head2 CacheClusterCreateTime => Str
66              
67             The date and time when the cache cluster was created.
68              
69              
70             =head2 CacheClusterId => Str
71              
72             The user-supplied identifier of the cache cluster. This identifier is a
73             unique key that identifies a cache cluster.
74              
75              
76             =head2 CacheClusterStatus => Str
77              
78             The current state of this cache cluster, one of the following values:
79             C<available>, C<creating>, C<deleted>, C<deleting>,
80             C<incompatible-network>, C<modifying>, C<rebooting cache cluster
81             nodes>, C<restore-failed>, or C<snapshotting>.
82              
83              
84             =head2 CacheNodes => ArrayRef[L<Paws::ElastiCache::CacheNode>]
85              
86             A list of cache nodes that are members of the cache cluster.
87              
88              
89             =head2 CacheNodeType => Str
90              
91             The name of the compute and memory capacity node type for the cache
92             cluster.
93              
94             Valid node types are as follows:
95              
96             =over
97              
98             =item *
99              
100             General purpose:
101              
102             =over
103              
104             =item *
105              
106             Current generation: C<cache.t2.micro>, C<cache.t2.small>,
107             C<cache.t2.medium>, C<cache.m3.medium>, C<cache.m3.large>,
108             C<cache.m3.xlarge>, C<cache.m3.2xlarge>, C<cache.m4.large>,
109             C<cache.m4.xlarge>, C<cache.m4.2xlarge>, C<cache.m4.4xlarge>,
110             C<cache.m4.10xlarge>
111              
112             =item *
113              
114             Previous generation: C<cache.t1.micro>, C<cache.m1.small>,
115             C<cache.m1.medium>, C<cache.m1.large>, C<cache.m1.xlarge>
116              
117             =back
118              
119             =item *
120              
121             Compute optimized: C<cache.c1.xlarge>
122              
123             =item *
124              
125             Memory optimized:
126              
127             =over
128              
129             =item *
130              
131             Current generation: C<cache.r3.large>, C<cache.r3.xlarge>,
132             C<cache.r3.2xlarge>, C<cache.r3.4xlarge>, C<cache.r3.8xlarge>
133              
134             =item *
135              
136             Previous generation: C<cache.m2.xlarge>, C<cache.m2.2xlarge>,
137             C<cache.m2.4xlarge>
138              
139             =back
140              
141             =back
142              
143             B<Notes:>
144              
145             =over
146              
147             =item *
148              
149             All T2 instances are created in an Amazon Virtual Private Cloud (Amazon
150             VPC).
151              
152             =item *
153              
154             Redis backup/restore is not supported for Redis (cluster mode disabled)
155             T1 and T2 instances. Backup/restore is supported on Redis (cluster mode
156             enabled) T2 instances.
157              
158             =item *
159              
160             Redis Append-only files (AOF) functionality is not supported for T1 or
161             T2 instances.
162              
163             =back
164              
165             For a complete listing of node types and specifications, see Amazon
166             ElastiCache Product Features and Details and either Cache Node
167             Type-Specific Parameters for Memcached or Cache Node Type-Specific
168             Parameters for Redis.
169              
170              
171             =head2 CacheParameterGroup => L<Paws::ElastiCache::CacheParameterGroupStatus>
172              
173            
174              
175              
176             =head2 CacheSecurityGroups => ArrayRef[L<Paws::ElastiCache::CacheSecurityGroupMembership>]
177              
178             A list of cache security group elements, composed of name and status
179             sub-elements.
180              
181              
182             =head2 CacheSubnetGroupName => Str
183              
184             The name of the cache subnet group associated with the cache cluster.
185              
186              
187             =head2 ClientDownloadLandingPage => Str
188              
189             The URL of the web page where you can download the latest ElastiCache
190             client library.
191              
192              
193             =head2 ConfigurationEndpoint => L<Paws::ElastiCache::Endpoint>
194              
195             Represents a Memcached cluster endpoint which, if Automatic Discovery
196             is enabled on the cluster, can be used by an application to connect to
197             any node in the cluster. The configuration endpoint will always have
198             C<.cfg> in it.
199              
200             Example: C<mem-3.9dvc4r.cfg.usw2.cache.amazonaws.com:11211>
201              
202              
203             =head2 Engine => Str
204              
205             The name of the cache engine (C<memcached> or C<redis>) to be used for
206             this cache cluster.
207              
208              
209             =head2 EngineVersion => Str
210              
211             The version of the cache engine that is used in this cache cluster.
212              
213              
214             =head2 NotificationConfiguration => L<Paws::ElastiCache::NotificationConfiguration>
215              
216            
217              
218              
219             =head2 NumCacheNodes => Int
220              
221             The number of cache nodes in the cache cluster.
222              
223             For clusters running Redis, this value must be 1. For clusters running
224             Memcached, this value must be between 1 and 20.
225              
226              
227             =head2 PendingModifiedValues => L<Paws::ElastiCache::PendingModifiedValues>
228              
229            
230              
231              
232             =head2 PreferredAvailabilityZone => Str
233              
234             The name of the Availability Zone in which the cache cluster is located
235             or "Multiple" if the cache nodes are located in different Availability
236             Zones.
237              
238              
239             =head2 PreferredMaintenanceWindow => Str
240              
241             Specifies the weekly time range during which maintenance on the cluster
242             is performed. It is specified as a range in the format
243             ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window
244             is a 60 minute period.
245              
246             Valid values for C<ddd> are:
247              
248             =over
249              
250             =item *
251              
252             C<sun>
253              
254             =item *
255              
256             C<mon>
257              
258             =item *
259              
260             C<tue>
261              
262             =item *
263              
264             C<wed>
265              
266             =item *
267              
268             C<thu>
269              
270             =item *
271              
272             C<fri>
273              
274             =item *
275              
276             C<sat>
277              
278             =back
279              
280             Example: C<sun:23:00-mon:01:30>
281              
282              
283             =head2 ReplicationGroupId => Str
284              
285             The replication group to which this cache cluster belongs. If this
286             field is empty, the cache cluster is not associated with any
287             replication group.
288              
289              
290             =head2 SecurityGroups => ArrayRef[L<Paws::ElastiCache::SecurityGroupMembership>]
291              
292             A list of VPC Security Groups associated with the cache cluster.
293              
294              
295             =head2 SnapshotRetentionLimit => Int
296              
297             The number of days for which ElastiCache retains automatic cache
298             cluster snapshots before deleting them. For example, if you set
299             C<SnapshotRetentionLimit> to 5, a snapshot that was taken today is
300             retained for 5 days before being deleted.
301              
302             If the value of SnapshotRetentionLimit is set to zero (0), backups are
303             turned off.
304              
305              
306             =head2 SnapshotWindow => Str
307              
308             The daily time range (in UTC) during which ElastiCache begins taking a
309             daily snapshot of your cache cluster.
310              
311             Example: C<05:00-09:00>
312              
313              
314              
315             =head1 SEE ALSO
316              
317             This class forms part of L<Paws>, describing an object used in L<Paws::ElastiCache>
318              
319             =head1 BUGS and CONTRIBUTIONS
320              
321             The source code is located here: https://github.com/pplu/aws-sdk-perl
322              
323             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
324              
325             =cut
326