Cfn/Resource/AWS/DMS/Endpoint.pm

filter: Statementstmt 86.9% 146 / 168 Branchbran 0.0% 0 / 14 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 71.4% 20 / 28 Podpod 0.0% 0 / 2 totaltotal 78.3% 166 / 212 CC 8 SCAR 11.0
CC
8
Cov
80%
__ANON__
6.0
__ANON__
6.0
__ANON__
6.0
CRAP 3.0
« Cfn/Resource/AWS/AppSync/GraphQLApi.pm ↑ Summary Cfn/Resource/AWS/IoTEvents/Input.pm »
1 # AWS::DMS::Endpoint generated from spec 18.4.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::Object::AWS::DMS::Endpoint::S3Settings->new( %$_ );
33 }
34 1 };
35  
36 1 package Cfn::Resource::Properties::Object::AWS::DMS::Endpoint::S3Settings {
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::NeptuneSettings',
51 as 'Cfn::Value';
52  
53 coerce 'Cfn::Resource::Properties::AWS::DMS::Endpoint::NeptuneSettings',
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::Object::AWS::DMS::Endpoint::NeptuneSettings->new( %$_ );
60 }
61 1 };
62  
63 1 package Cfn::Resource::Properties::Object::AWS::DMS::Endpoint::NeptuneSettings {
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 ErrorRetryDuration => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
69 1 has IamAuthEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
70 1 has MaxFileSize => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
71 1 has MaxRetryCount => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
72 1 has S3BucketFolder => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
73 1 has S3BucketName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
74 1 has ServiceAccessRoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
75 }
76  
77 1 subtype 'Cfn::Resource::Properties::AWS::DMS::Endpoint::MongoDbSettings',
78 as 'Cfn::Value';
79  
80 coerce 'Cfn::Resource::Properties::AWS::DMS::Endpoint::MongoDbSettings',
81 from 'HashRef',
82 via {
83 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
84 0 return $f
85 } else {
86 0 return Cfn::Resource::Properties::Object::AWS::DMS::Endpoint::MongoDbSettings->new( %$_ );
87 }
88 1 };
89  
90 1 package Cfn::Resource::Properties::Object::AWS::DMS::Endpoint::MongoDbSettings {
91 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
92 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
93 1 extends 'Cfn::Value::TypedValue';
94
95 1 has AuthMechanism => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
96 1 has AuthSource => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
97 1 has AuthType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
98 1 has DatabaseName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
99 1 has DocsToInvestigate => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
100 1 has ExtractDocId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
101 1 has NestingLevel => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
102 1 has Password => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
103 1 has Port => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
104 1 has ServerName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
105 1 has Username => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
106 }
107  
108 1 subtype 'Cfn::Resource::Properties::AWS::DMS::Endpoint::KinesisSettings',
109 as 'Cfn::Value';
110  
111 coerce 'Cfn::Resource::Properties::AWS::DMS::Endpoint::KinesisSettings',
112 from 'HashRef',
113 via {
114 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
115 0 return $f
116 } else {
117 0 return Cfn::Resource::Properties::Object::AWS::DMS::Endpoint::KinesisSettings->new( %$_ );
118 }
119 1 };
120  
121 1 package Cfn::Resource::Properties::Object::AWS::DMS::Endpoint::KinesisSettings {
122 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
123 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
124 1 extends 'Cfn::Value::TypedValue';
125
126 1 has MessageFormat => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
127 1 has ServiceAccessRoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
128 1 has StreamArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
129 }
130  
131 1 subtype 'Cfn::Resource::Properties::AWS::DMS::Endpoint::KafkaSettings',
132 as 'Cfn::Value';
133  
134 coerce 'Cfn::Resource::Properties::AWS::DMS::Endpoint::KafkaSettings',
135 from 'HashRef',
136 via {
137 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
138 0 return $f
139 } else {
140 0 return Cfn::Resource::Properties::Object::AWS::DMS::Endpoint::KafkaSettings->new( %$_ );
141 }
142 1 };
143  
144 1 package Cfn::Resource::Properties::Object::AWS::DMS::Endpoint::KafkaSettings {
145 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
146 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
147 1 extends 'Cfn::Value::TypedValue';
148
149 1 has Broker => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
150 1 has Topic => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
151 }
152  
153 1 subtype 'Cfn::Resource::Properties::AWS::DMS::Endpoint::ElasticsearchSettings',
154 as 'Cfn::Value';
155  
156 coerce 'Cfn::Resource::Properties::AWS::DMS::Endpoint::ElasticsearchSettings',
157 from 'HashRef',
158 via {
159 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
160 0 return $f
161 } else {
162 0 return Cfn::Resource::Properties::Object::AWS::DMS::Endpoint::ElasticsearchSettings->new( %$_ );
163 }
164 1 };
165  
166 1 package Cfn::Resource::Properties::Object::AWS::DMS::Endpoint::ElasticsearchSettings {
167 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
168 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
169 1 extends 'Cfn::Value::TypedValue';
170
171 1 has EndpointUri => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
172 1 has ErrorRetryDuration => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
173 1 has FullLoadErrorPercentage => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
174 1 has ServiceAccessRoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
175 }
176  
177 1 subtype 'Cfn::Resource::Properties::AWS::DMS::Endpoint::DynamoDbSettings',
178 as 'Cfn::Value';
179  
180 coerce 'Cfn::Resource::Properties::AWS::DMS::Endpoint::DynamoDbSettings',
181 from 'HashRef',
182 via {
183 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
184 0 return $f
185 } else {
186 0 return Cfn::Resource::Properties::Object::AWS::DMS::Endpoint::DynamoDbSettings->new( %$_ );
187 }
188 1 };
189  
190 1 package Cfn::Resource::Properties::Object::AWS::DMS::Endpoint::DynamoDbSettings {
191 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
192 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
193 1 extends 'Cfn::Value::TypedValue';
194
195 1 has ServiceAccessRoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
196 }
197  
198 1 package Cfn::Resource::Properties::AWS::DMS::Endpoint {
199 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
200 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
201 1 extends 'Cfn::Resource::Properties';
202
203 1 has CertificateArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
204 1 has DatabaseName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
205 1 has DynamoDbSettings => (isa => 'Cfn::Resource::Properties::AWS::DMS::Endpoint::DynamoDbSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
206 1 has ElasticsearchSettings => (isa => 'Cfn::Resource::Properties::AWS::DMS::Endpoint::ElasticsearchSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
207 1 has EndpointIdentifier => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
208 1 has EndpointType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
209 1 has EngineName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
210 1 has ExtraConnectionAttributes => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
211 1 has KafkaSettings => (isa => 'Cfn::Resource::Properties::AWS::DMS::Endpoint::KafkaSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
212 1 has KinesisSettings => (isa => 'Cfn::Resource::Properties::AWS::DMS::Endpoint::KinesisSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
213 1 has KmsKeyId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
214 1 has MongoDbSettings => (isa => 'Cfn::Resource::Properties::AWS::DMS::Endpoint::MongoDbSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
215 1 has NeptuneSettings => (isa => 'Cfn::Resource::Properties::AWS::DMS::Endpoint::NeptuneSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
216 1 has Password => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
217 1 has Port => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
218 1 has S3Settings => (isa => 'Cfn::Resource::Properties::AWS::DMS::Endpoint::S3Settings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
219 1 has ServerName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
220 1 has SslMode => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
221 1 has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
222 1 has Username => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
223 }
224  
225 1 1;
226 ### main pod documentation begin ###
227  
228 =encoding UTF-8
229  
230 =head1 NAME
231  
232 Cfn::Resource::AWS::DMS::Endpoint - Cfn resource for AWS::DMS::Endpoint
233  
234 =head1 DESCRIPTION
235  
236 This module implements a Perl module that represents the CloudFormation object AWS::DMS::Endpoint.
237  
238 See L<Cfn> for more information on how to use it.
239  
240 =head1 AUTHOR
241  
242 Jose Luis Martinez
243 CAPSiDE
244 jlmartinez@capside.com
245  
246 =head1 COPYRIGHT and LICENSE
247  
248 Copyright (c) 2013 by CAPSiDE
249 This code is distributed under the Apache 2 License. The full text of the
250 license can be found in the LICENSE file included with this module.
251  
252 =cut
« Cfn/Resource/AWS/AppSync/GraphQLApi.pm ↑ Summary Cfn/Resource/AWS/IoTEvents/Input.pm »