Cfn/Resource/AWS/MSK/Cluster.pm

filter: Statementstmt 81.4% 267 / 328 Branchbran 0.0% 0 / 40 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 68.6% 46 / 67 Podpod 0.0% 0 / 2 totaltotal 71.6% 313 / 437 CC 21 SCAR 11.9
CC
21
Cov
73%
__ANON__
6.0
__ANON__
6.0
__ANON__
6.0
CRAP 3.3
« Cfn/Resource/AWS/IoTAnalytics/Pipeline.pm ↑ Summary Cfn/Resource/AWS/KinesisAnalyticsV2/ApplicationReferenceDataSource.pm »
1 # AWS::MSK::Cluster 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::MSK::Cluster',
5 from 'HashRef',
6 0 ▶ via { Cfn::Resource::Properties::AWS::MSK::Cluster->new( %$_ ) };
Subroutine __ANON__: not called CC=1 SCAR=1.2
7  
8 1 package Cfn::Resource::AWS::MSK::Cluster {
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::MSK::Cluster', is => 'rw', coerce => 1);
12
13 sub AttributeList {
14 1 ▶ [ ]
Subroutine AttributeList: called CC=1 SCAR=0.0
Pod undocumented
15 }
16 sub supported_regions {
17 1 ▶ [ 'ap-east-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','eu-west-3','me-south-1','sa-east-1','us-east-1','us-east-2','us-gov-east-1','us-gov-west-1','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::MSK::Cluster::Scram',
24 as 'Cfn::Value';
25  
26 coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::Scram',
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::MSK::Cluster::Scram->new( %$_ );
33 }
34 1 };
35  
36 1 package Cfn::Resource::Properties::Object::AWS::MSK::Cluster::Scram {
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 Enabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
42 }
43  
44 1 subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::S3',
45 as 'Cfn::Value';
46  
47 coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::S3',
48 from 'HashRef',
49 via {
50 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
51 0 return $f
52 } else {
53 0 return Cfn::Resource::Properties::Object::AWS::MSK::Cluster::S3->new( %$_ );
54 }
55 1 };
56  
57 1 package Cfn::Resource::Properties::Object::AWS::MSK::Cluster::S3 {
58 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
59 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
60 1 extends 'Cfn::Value::TypedValue';
61
62 1 has Bucket => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
63 1 has Enabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
64 1 has Prefix => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
65 }
66  
67 1 subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::NodeExporter',
68 as 'Cfn::Value';
69  
70 coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::NodeExporter',
71 from 'HashRef',
72 via {
73 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
74 0 return $f
75 } else {
76 0 return Cfn::Resource::Properties::Object::AWS::MSK::Cluster::NodeExporter->new( %$_ );
77 }
78 1 };
79  
80 1 package Cfn::Resource::Properties::Object::AWS::MSK::Cluster::NodeExporter {
81 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
82 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
83 1 extends 'Cfn::Value::TypedValue';
84
85 1 has EnabledInBroker => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
86 }
87  
88 1 subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::JmxExporter',
89 as 'Cfn::Value';
90  
91 coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::JmxExporter',
92 from 'HashRef',
93 via {
94 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
95 0 return $f
96 } else {
97 0 return Cfn::Resource::Properties::Object::AWS::MSK::Cluster::JmxExporter->new( %$_ );
98 }
99 1 };
100  
101 1 package Cfn::Resource::Properties::Object::AWS::MSK::Cluster::JmxExporter {
102 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
103 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
104 1 extends 'Cfn::Value::TypedValue';
105
106 1 has EnabledInBroker => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
107 }
108  
109 1 subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::Firehose',
110 as 'Cfn::Value';
111  
112 coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::Firehose',
113 from 'HashRef',
114 via {
115 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
116 0 return $f
117 } else {
118 0 return Cfn::Resource::Properties::Object::AWS::MSK::Cluster::Firehose->new( %$_ );
119 }
120 1 };
121  
122 1 package Cfn::Resource::Properties::Object::AWS::MSK::Cluster::Firehose {
123 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
124 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
125 1 extends 'Cfn::Value::TypedValue';
126
127 1 has DeliveryStream => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
128 1 has Enabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
129 }
130  
131 1 subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::EBSStorageInfo',
132 as 'Cfn::Value';
133  
134 coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::EBSStorageInfo',
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::MSK::Cluster::EBSStorageInfo->new( %$_ );
141 }
142 1 };
143  
144 1 package Cfn::Resource::Properties::Object::AWS::MSK::Cluster::EBSStorageInfo {
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 VolumeSize => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
150 }
151  
152 1 subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::CloudWatchLogs',
153 as 'Cfn::Value';
154  
155 coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::CloudWatchLogs',
156 from 'HashRef',
157 via {
158 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
159 0 return $f
160 } else {
161 0 return Cfn::Resource::Properties::Object::AWS::MSK::Cluster::CloudWatchLogs->new( %$_ );
162 }
163 1 };
164  
165 1 package Cfn::Resource::Properties::Object::AWS::MSK::Cluster::CloudWatchLogs {
166 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
167 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
168 1 extends 'Cfn::Value::TypedValue';
169
170 1 has Enabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
171 1 has LogGroup => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
172 }
173  
174 1 subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::Tls',
175 as 'Cfn::Value';
176  
177 coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::Tls',
178 from 'HashRef',
179 via {
180 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
181 0 return $f
182 } else {
183 0 return Cfn::Resource::Properties::Object::AWS::MSK::Cluster::Tls->new( %$_ );
184 }
185 1 };
186  
187 1 package Cfn::Resource::Properties::Object::AWS::MSK::Cluster::Tls {
188 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
189 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
190 1 extends 'Cfn::Value::TypedValue';
191
192 1 has CertificateAuthorityArnList => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
193 }
194  
195 1 subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::StorageInfo',
196 as 'Cfn::Value';
197  
198 coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::StorageInfo',
199 from 'HashRef',
200 via {
201 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
202 0 return $f
203 } else {
204 0 return Cfn::Resource::Properties::Object::AWS::MSK::Cluster::StorageInfo->new( %$_ );
205 }
206 1 };
207  
208 1 package Cfn::Resource::Properties::Object::AWS::MSK::Cluster::StorageInfo {
209 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
210 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
211 1 extends 'Cfn::Value::TypedValue';
212
213 1 has EBSStorageInfo => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::EBSStorageInfo', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
214 }
215  
216 1 subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::Sasl',
217 as 'Cfn::Value';
218  
219 coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::Sasl',
220 from 'HashRef',
221 via {
222 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
223 0 return $f
224 } else {
225 0 return Cfn::Resource::Properties::Object::AWS::MSK::Cluster::Sasl->new( %$_ );
226 }
227 1 };
228  
229 1 package Cfn::Resource::Properties::Object::AWS::MSK::Cluster::Sasl {
230 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
231 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
232 1 extends 'Cfn::Value::TypedValue';
233
234 1 has Scram => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::Scram', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
235 }
236  
237 1 subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::Prometheus',
238 as 'Cfn::Value';
239  
240 coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::Prometheus',
241 from 'HashRef',
242 via {
243 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
244 0 return $f
245 } else {
246 0 return Cfn::Resource::Properties::Object::AWS::MSK::Cluster::Prometheus->new( %$_ );
247 }
248 1 };
249  
250 1 package Cfn::Resource::Properties::Object::AWS::MSK::Cluster::Prometheus {
251 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
252 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
253 1 extends 'Cfn::Value::TypedValue';
254
255 1 has JmxExporter => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::JmxExporter', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
256 1 has NodeExporter => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::NodeExporter', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
257 }
258  
259 1 subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::EncryptionInTransit',
260 as 'Cfn::Value';
261  
262 coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::EncryptionInTransit',
263 from 'HashRef',
264 via {
265 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
266 0 return $f
267 } else {
268 0 return Cfn::Resource::Properties::Object::AWS::MSK::Cluster::EncryptionInTransit->new( %$_ );
269 }
270 1 };
271  
272 1 package Cfn::Resource::Properties::Object::AWS::MSK::Cluster::EncryptionInTransit {
273 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
274 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
275 1 extends 'Cfn::Value::TypedValue';
276
277 1 has ClientBroker => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
278 1 has InCluster => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
279 }
280  
281 1 subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::EncryptionAtRest',
282 as 'Cfn::Value';
283  
284 coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::EncryptionAtRest',
285 from 'HashRef',
286 via {
287 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
288 0 return $f
289 } else {
290 0 return Cfn::Resource::Properties::Object::AWS::MSK::Cluster::EncryptionAtRest->new( %$_ );
291 }
292 1 };
293  
294 1 package Cfn::Resource::Properties::Object::AWS::MSK::Cluster::EncryptionAtRest {
295 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
296 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
297 1 extends 'Cfn::Value::TypedValue';
298
299 1 has DataVolumeKMSKeyId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
300 }
301  
302 1 subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::BrokerLogs',
303 as 'Cfn::Value';
304  
305 coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::BrokerLogs',
306 from 'HashRef',
307 via {
308 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
309 0 return $f
310 } else {
311 0 return Cfn::Resource::Properties::Object::AWS::MSK::Cluster::BrokerLogs->new( %$_ );
312 }
313 1 };
314  
315 1 package Cfn::Resource::Properties::Object::AWS::MSK::Cluster::BrokerLogs {
316 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
317 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
318 1 extends 'Cfn::Value::TypedValue';
319
320 1 has CloudWatchLogs => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::CloudWatchLogs', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
321 1 has Firehose => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::Firehose', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
322 1 has S3 => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::S3', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
323 }
324  
325 1 subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::OpenMonitoring',
326 as 'Cfn::Value';
327  
328 coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::OpenMonitoring',
329 from 'HashRef',
330 via {
331 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
332 0 return $f
333 } else {
334 0 return Cfn::Resource::Properties::Object::AWS::MSK::Cluster::OpenMonitoring->new( %$_ );
335 }
336 1 };
337  
338 1 package Cfn::Resource::Properties::Object::AWS::MSK::Cluster::OpenMonitoring {
339 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
340 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
341 1 extends 'Cfn::Value::TypedValue';
342
343 1 has Prometheus => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::Prometheus', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
344 }
345  
346 1 subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::LoggingInfo',
347 as 'Cfn::Value';
348  
349 coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::LoggingInfo',
350 from 'HashRef',
351 via {
352 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
353 0 return $f
354 } else {
355 0 return Cfn::Resource::Properties::Object::AWS::MSK::Cluster::LoggingInfo->new( %$_ );
356 }
357 1 };
358  
359 1 package Cfn::Resource::Properties::Object::AWS::MSK::Cluster::LoggingInfo {
360 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
361 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
362 1 extends 'Cfn::Value::TypedValue';
363
364 1 has BrokerLogs => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::BrokerLogs', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
365 }
366  
367 1 subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::EncryptionInfo',
368 as 'Cfn::Value';
369  
370 coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::EncryptionInfo',
371 from 'HashRef',
372 via {
373 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
374 0 return $f
375 } else {
376 0 return Cfn::Resource::Properties::Object::AWS::MSK::Cluster::EncryptionInfo->new( %$_ );
377 }
378 1 };
379  
380 1 package Cfn::Resource::Properties::Object::AWS::MSK::Cluster::EncryptionInfo {
381 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
382 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
383 1 extends 'Cfn::Value::TypedValue';
384
385 1 has EncryptionAtRest => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::EncryptionAtRest', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
386 1 has EncryptionInTransit => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::EncryptionInTransit', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
387 }
388  
389 1 subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::ConfigurationInfo',
390 as 'Cfn::Value';
391  
392 coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::ConfigurationInfo',
393 from 'HashRef',
394 via {
395 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
396 0 return $f
397 } else {
398 0 return Cfn::Resource::Properties::Object::AWS::MSK::Cluster::ConfigurationInfo->new( %$_ );
399 }
400 1 };
401  
402 1 package Cfn::Resource::Properties::Object::AWS::MSK::Cluster::ConfigurationInfo {
403 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
404 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
405 1 extends 'Cfn::Value::TypedValue';
406
407 1 has Arn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
408 1 has Revision => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
409 }
410  
411 1 subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::ClientAuthentication',
412 as 'Cfn::Value';
413  
414 coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::ClientAuthentication',
415 from 'HashRef',
416 via {
417 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
418 0 return $f
419 } else {
420 0 return Cfn::Resource::Properties::Object::AWS::MSK::Cluster::ClientAuthentication->new( %$_ );
421 }
422 1 };
423  
424 1 package Cfn::Resource::Properties::Object::AWS::MSK::Cluster::ClientAuthentication {
425 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
426 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
427 1 extends 'Cfn::Value::TypedValue';
428
429 1 has Sasl => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::Sasl', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
430 1 has Tls => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::Tls', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
431 }
432  
433 1 subtype 'Cfn::Resource::Properties::AWS::MSK::Cluster::BrokerNodeGroupInfo',
434 as 'Cfn::Value';
435  
436 coerce 'Cfn::Resource::Properties::AWS::MSK::Cluster::BrokerNodeGroupInfo',
437 from 'HashRef',
438 via {
439 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
440 0 return $f
441 } else {
442 0 return Cfn::Resource::Properties::Object::AWS::MSK::Cluster::BrokerNodeGroupInfo->new( %$_ );
443 }
444 1 };
445  
446 1 package Cfn::Resource::Properties::Object::AWS::MSK::Cluster::BrokerNodeGroupInfo {
447 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
448 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
449 1 extends 'Cfn::Value::TypedValue';
450
451 1 has BrokerAZDistribution => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
452 1 has ClientSubnets => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
453 1 has InstanceType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
454 1 has SecurityGroups => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
455 1 has StorageInfo => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::StorageInfo', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
456 }
457  
458 1 package Cfn::Resource::Properties::AWS::MSK::Cluster {
459 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
460 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
461 1 extends 'Cfn::Resource::Properties';
462
463 1 has BrokerNodeGroupInfo => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::BrokerNodeGroupInfo', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
464 1 has ClientAuthentication => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::ClientAuthentication', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
465 1 has ClusterName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
466 1 has ConfigurationInfo => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::ConfigurationInfo', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
467 1 has EncryptionInfo => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::EncryptionInfo', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
468 1 has EnhancedMonitoring => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
469 1 has KafkaVersion => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
470 1 has LoggingInfo => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::LoggingInfo', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
471 1 has NumberOfBrokerNodes => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
472 1 has OpenMonitoring => (isa => 'Cfn::Resource::Properties::AWS::MSK::Cluster::OpenMonitoring', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
473 1 has Tags => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
474 }
475  
476 1 1;
477 ### main pod documentation begin ###
478  
479 =encoding UTF-8
480  
481 =head1 NAME
482  
483 Cfn::Resource::AWS::MSK::Cluster - Cfn resource for AWS::MSK::Cluster
484  
485 =head1 DESCRIPTION
486  
487 This module implements a Perl module that represents the CloudFormation object AWS::MSK::Cluster.
488  
489 See L<Cfn> for more information on how to use it.
490  
491 =head1 AUTHOR
492  
493 Jose Luis Martinez
494 CAPSiDE
495 jlmartinez@capside.com
496  
497 =head1 COPYRIGHT and LICENSE
498  
499 Copyright (c) 2013 by CAPSiDE
500 This code is distributed under the Apache 2 License. The full text of the
501 license can be found in the LICENSE file included with this module.
502  
503 =cut
« Cfn/Resource/AWS/IoTAnalytics/Pipeline.pm ↑ Summary Cfn/Resource/AWS/KinesisAnalyticsV2/ApplicationReferenceDataSource.pm »