line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
766
|
use Moose::Util::TypeConstraints; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
11
|
|
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::RDS::DBInstance', |
4
|
|
|
|
|
|
|
from 'HashRef', |
5
|
|
|
|
|
|
|
via { Cfn::Resource::Properties::AWS::RDS::DBInstance->new( %$_ ) }; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
package Cfn::Resource::AWS::RDS::DBInstance { |
8
|
1
|
|
|
1
|
|
2482
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
9
|
|
9
|
|
|
|
|
|
|
extends 'Cfn::Resource'; |
10
|
|
|
|
|
|
|
has Properties => (isa => 'Cfn::Resource::Properties::AWS::RDS::DBInstance', is => 'rw', coerce => 1, required => 1); |
11
|
|
|
|
|
|
|
} |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::RDS::DBInstance { |
14
|
1
|
|
|
1
|
|
7646
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
6
|
|
15
|
1
|
|
|
1
|
|
6747
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
9
|
|
16
|
|
|
|
|
|
|
extends 'Cfn::Resource::Properties'; |
17
|
|
|
|
|
|
|
has AllocatedStorage => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
18
|
|
|
|
|
|
|
has AllowMajorVersionUpgrade => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
19
|
|
|
|
|
|
|
has AutoMinorVersionUpgrade => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
20
|
|
|
|
|
|
|
has AvailabilityZone => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
21
|
|
|
|
|
|
|
has BackupRetentionPeriod => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
22
|
|
|
|
|
|
|
has DBInstanceClass => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
23
|
|
|
|
|
|
|
has DBInstanceIdentifier => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
24
|
|
|
|
|
|
|
has DBName => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
25
|
|
|
|
|
|
|
has DBParameterGroupName => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
26
|
|
|
|
|
|
|
has DBSecurityGroups => (isa => 'Cfn::Value::Array|Cfn::Value::Function', is => 'rw', coerce => 1); |
27
|
|
|
|
|
|
|
has DBSnapshotIdentifier => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
28
|
|
|
|
|
|
|
has DBSubnetGroupName => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
29
|
|
|
|
|
|
|
has Engine => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
30
|
|
|
|
|
|
|
has EngineVersion => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
31
|
|
|
|
|
|
|
has Iops => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
32
|
|
|
|
|
|
|
has LicenseModel => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
33
|
|
|
|
|
|
|
has MasterUsername => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
34
|
|
|
|
|
|
|
has MasterUserPassword => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
35
|
|
|
|
|
|
|
has MultiAZ => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
36
|
|
|
|
|
|
|
has Port => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
37
|
|
|
|
|
|
|
has PreferredBackupWindow => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
38
|
|
|
|
|
|
|
has PreferredMaintenanceWindow => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
39
|
|
|
|
|
|
|
has SourceDBInstanceIdentifier => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
40
|
|
|
|
|
|
|
has Tags => (isa => 'Cfn::Value::Array|Cfn::Value::Function', is => 'rw', coerce => 1); |
41
|
|
|
|
|
|
|
has VPCSecurityGroups => (isa => 'Cfn::Value::Array|Cfn::Value::Function', is => 'rw', coerce => 1); |
42
|
|
|
|
|
|
|
has PubliclyAccessible => (isa=> 'Cfn::Value', is => 'rw', coerce => 1); |
43
|
|
|
|
|
|
|
} |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
1; |