line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
872
|
use Moose::Util::TypeConstraints; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
15
|
|
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::ElastiCache::CacheCluster', |
4
|
|
|
|
|
|
|
from 'HashRef', |
5
|
|
|
|
|
|
|
via { Cfn::Resource::Properties::AWS::ElastiCache::CacheCluster->new( %$_ ) }; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
package Cfn::Resource::AWS::ElastiCache::CacheCluster { |
8
|
1
|
|
|
1
|
|
2547
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
7
|
|
9
|
|
|
|
|
|
|
extends 'Cfn::Resource'; |
10
|
|
|
|
|
|
|
has Properties => (isa => 'Cfn::Resource::Properties::AWS::ElastiCache::CacheCluster', is => 'rw', coerce => 1, required => 1); |
11
|
|
|
|
|
|
|
} |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::ElastiCache::CacheCluster { |
14
|
1
|
|
|
1
|
|
7710
|
use Moose; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
6
|
|
15
|
1
|
|
|
1
|
|
6866
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
12
|
|
16
|
|
|
|
|
|
|
extends 'Cfn::Resource::Properties'; |
17
|
|
|
|
|
|
|
has AutoMinorVersionUpgrade => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
18
|
|
|
|
|
|
|
has CacheNodeType => (isa => 'Cfn::Value', is => 'rw', coerce => 1, required => 1); |
19
|
|
|
|
|
|
|
has CacheParameterGroupName => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
20
|
|
|
|
|
|
|
has CacheSecurityGroupNames => (isa => 'Cfn::Value::Array|Cfn::Value::Function', is => 'rw', coerce => 1); |
21
|
|
|
|
|
|
|
has CacheSubnetGroupName => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
22
|
|
|
|
|
|
|
has ClusterName => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
23
|
|
|
|
|
|
|
has Engine => (isa => 'Cfn::Value', is => 'rw', coerce => 1, required => 1); |
24
|
|
|
|
|
|
|
has EngineVersion => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
25
|
|
|
|
|
|
|
has NotificationTopicArn => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
26
|
|
|
|
|
|
|
has NumCacheNodes => (isa => 'Cfn::Value', is => 'rw', coerce => 1, required => 1); |
27
|
|
|
|
|
|
|
has Port => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
28
|
|
|
|
|
|
|
has PreferredAvailabilityZone => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
29
|
|
|
|
|
|
|
has PreferredMaintenanceWindow => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
30
|
|
|
|
|
|
|
has SnapshotArns => (isa => 'Cfn::Value::Array|Cfn::Value::Function', is => 'rw', coerce => 1); |
31
|
|
|
|
|
|
|
has Tags => (isa => 'Cfn::Value::Array|Cfn::Value::Function', is => 'rw', coerce => 1); |
32
|
|
|
|
|
|
|
has VpcSecurityGroupIds => (isa => 'Cfn::Value::Array|Cfn::Value::Function', is => 'rw', coerce => 1); |
33
|
|
|
|
|
|
|
} |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
1; |