Cfn/Resource/AWS/DMS/Endpoint.pm

filter: Statementstmt 87.7% 115 / 131 Branchbran 0.0% 0 / 10 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 72.7% 16 / 22 Podpod 0.0% 0 / 2 totaltotal 79.3% 131 / 165 SCAR 18.3
CC
6
Cov
82%
__ANON__
6.0
__ANON__
6.0
__ANON__
6.0
CRAP 6.2
« Cfn/Resource/AWS/CodeCommit/Repository.pm ↑ Summary Cfn/Resource/AWS/Lambda/Function.pm »
1 # AWS::DMS::Endpoint generated from spec 5.3.0
2 1 ▶use Moose::Util::TypeConstraints;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 coerce 'Cfn::Resource::Properties::AWS::DMS::Endpoint',
5 from 'HashRef',
6 0 ▶ via { Cfn::Resource::Properties::AWS::DMS::Endpoint->new( %$_ ) };
Subroutine __ANON__: not called CC=1 SCAR=1.2
7  
8 1 package Cfn::Resource::AWS::DMS::Endpoint {
9 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 1 extends 'Cfn::Resource';
11 1 has Properties => (isa => 'Cfn::Resource::Properties::AWS::DMS::Endpoint', is => 'rw', coerce => 1);
12
13 sub AttributeList {
14 1 ▶ [ 'ExternalId' ]
Subroutine AttributeList: called CC=1 SCAR=0.0
Pod undocumented
15 }
16 sub supported_regions {
17 1 ▶ [ 'ap-northeast-1','ap-northeast-2','ap-south-1','ap-southeast-1','ap-southeast-2','ca-central-1','cn-north-1','cn-northwest-1','eu-central-1','eu-north-1','eu-west-1','eu-west-2','sa-east-1','us-east-1','us-east-2','us-west-1','us-west-2' ]
Subroutine supported_regions: called CC=1 SCAR=0.0
Pod undocumented
18 }
19 }
20  
21  
22  
23 1 subtype 'Cfn::Resource::Properties::AWS::DMS::Endpoint::S3Settings',
24 as 'Cfn::Value';
25  
26 coerce 'Cfn::Resource::Properties::AWS::DMS::Endpoint::S3Settings',
27 from 'HashRef',
28 via {
29 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
30 0 return $f
31 } else {
32 0 return Cfn::Resource::Properties::AWS::DMS::Endpoint::S3SettingsValue->new( %$_ );
33 }
34 1 };
35  
36 1 package Cfn::Resource::Properties::AWS::DMS::Endpoint::S3SettingsValue {
37 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
38 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
39 1 extends 'Cfn::Value::TypedValue';
40
41 1 has BucketFolder => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
42 1 has BucketName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
43 1 has CompressionType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
44 1 has CsvDelimiter => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
45 1 has CsvRowDelimiter => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
46 1 has ExternalTableDefinition => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
47 1 has ServiceAccessRoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
48 }
49  
50 1 subtype 'Cfn::Resource::Properties::AWS::DMS::Endpoint::MongoDbSettings',
51 as 'Cfn::Value';
52  
53 coerce 'Cfn::Resource::Properties::AWS::DMS::Endpoint::MongoDbSettings',
54 from 'HashRef',
55 via {
56 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
57 0 return $f
58 } else {
59 0 return Cfn::Resource::Properties::AWS::DMS::Endpoint::MongoDbSettingsValue->new( %$_ );
60 }
61 1 };
62  
63 1 package Cfn::Resource::Properties::AWS::DMS::Endpoint::MongoDbSettingsValue {
64 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
65 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
66 1 extends 'Cfn::Value::TypedValue';
67
68 1 has AuthMechanism => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
69 1 has AuthSource => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
70 1 has AuthType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
71 1 has DatabaseName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
72 1 has DocsToInvestigate => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
73 1 has ExtractDocId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
74 1 has NestingLevel => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
75 1 has Password => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
76 1 has Port => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
77 1 has ServerName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
78 1 has Username => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
79 }
80  
81 1 subtype 'Cfn::Resource::Properties::AWS::DMS::Endpoint::KinesisSettings',
82 as 'Cfn::Value';
83  
84 coerce 'Cfn::Resource::Properties::AWS::DMS::Endpoint::KinesisSettings',
85 from 'HashRef',
86 via {
87 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
88 0 return $f
89 } else {
90 0 return Cfn::Resource::Properties::AWS::DMS::Endpoint::KinesisSettingsValue->new( %$_ );
91 }
92 1 };
93  
94 1 package Cfn::Resource::Properties::AWS::DMS::Endpoint::KinesisSettingsValue {
95 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
96 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
97 1 extends 'Cfn::Value::TypedValue';
98
99 1 has MessageFormat => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
100 1 has ServiceAccessRoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
101 1 has StreamArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
102 }
103  
104 1 subtype 'Cfn::Resource::Properties::AWS::DMS::Endpoint::ElasticsearchSettings',
105 as 'Cfn::Value';
106  
107 coerce 'Cfn::Resource::Properties::AWS::DMS::Endpoint::ElasticsearchSettings',
108 from 'HashRef',
109 via {
110 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
111 0 return $f
112 } else {
113 0 return Cfn::Resource::Properties::AWS::DMS::Endpoint::ElasticsearchSettingsValue->new( %$_ );
114 }
115 1 };
116  
117 1 package Cfn::Resource::Properties::AWS::DMS::Endpoint::ElasticsearchSettingsValue {
118 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
119 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
120 1 extends 'Cfn::Value::TypedValue';
121
122 1 has EndpointUri => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
123 1 has ErrorRetryDuration => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
124 1 has FullLoadErrorPercentage => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
125 1 has ServiceAccessRoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
126 }
127  
128 1 subtype 'Cfn::Resource::Properties::AWS::DMS::Endpoint::DynamoDbSettings',
129 as 'Cfn::Value';
130  
131 coerce 'Cfn::Resource::Properties::AWS::DMS::Endpoint::DynamoDbSettings',
132 from 'HashRef',
133 via {
134 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
135 0 return $f
136 } else {
137 0 return Cfn::Resource::Properties::AWS::DMS::Endpoint::DynamoDbSettingsValue->new( %$_ );
138 }
139 1 };
140  
141 1 package Cfn::Resource::Properties::AWS::DMS::Endpoint::DynamoDbSettingsValue {
142 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
143 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
144 1 extends 'Cfn::Value::TypedValue';
145
146 1 has ServiceAccessRoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
147 }
148  
149 1 package Cfn::Resource::Properties::AWS::DMS::Endpoint {
150 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
151 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
152 1 extends 'Cfn::Resource::Properties';
153
154 1 has CertificateArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
155 1 has DatabaseName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
156 1 has DynamoDbSettings => (isa => 'Cfn::Resource::Properties::AWS::DMS::Endpoint::DynamoDbSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
157 1 has ElasticsearchSettings => (isa => 'Cfn::Resource::Properties::AWS::DMS::Endpoint::ElasticsearchSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
158 1 has EndpointIdentifier => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
159 1 has EndpointType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
160 1 has EngineName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
161 1 has ExtraConnectionAttributes => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
162 1 has KinesisSettings => (isa => 'Cfn::Resource::Properties::AWS::DMS::Endpoint::KinesisSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
163 1 has KmsKeyId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
164 1 has MongoDbSettings => (isa => 'Cfn::Resource::Properties::AWS::DMS::Endpoint::MongoDbSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
165 1 has Password => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
166 1 has Port => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
167 1 has S3Settings => (isa => 'Cfn::Resource::Properties::AWS::DMS::Endpoint::S3Settings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
168 1 has ServerName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
169 1 has SslMode => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
170 1 has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
171 1 has Username => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
172 }
173  
174 1 1;
« Cfn/Resource/AWS/CodeCommit/Repository.pm ↑ Summary Cfn/Resource/AWS/Lambda/Function.pm »