Cfn/Resource/AWS/MediaLive/Channel.pm

filter: Statementstmt 75.1% 356 / 474 Branchbran 0.0% 0 / 74 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 52.8% 56 / 106 Podpod 0.0% 0 / 2 totaltotal 62.8% 412 / 656 SCAR 46.1
CC
38
Cov
65%
__ANON__
6.0
__ANON__
6.0
__ANON__
6.0
CRAP 100.1
« Cfn/Resource/AWS/CodeDeploy/DeploymentGroup.pm ↑ Summary Cfn/Resource/AWS/WAFv2/WebACL.pm »
1 # AWS::MediaLive::Channel generated from spec 11.1.0
2 1 ▶use Moose::Util::TypeConstraints;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 coerce 'Cfn::Resource::Properties::AWS::MediaLive::Channel',
5 from 'HashRef',
6 0 ▶ via { Cfn::Resource::Properties::AWS::MediaLive::Channel->new( %$_ ) };
Subroutine __ANON__: not called CC=1 SCAR=1.2
7  
8 1 package Cfn::Resource::AWS::MediaLive::Channel {
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::MediaLive::Channel', is => 'rw', coerce => 1);
12
13 sub AttributeList {
14 1 ▶ [ 'Arn','Inputs' ]
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','eu-central-1','eu-west-1','sa-east-1','us-east-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::MediaLive::Channel::VideoSelectorProgramId',
24 as 'Cfn::Value';
25  
26 coerce 'Cfn::Resource::Properties::AWS::MediaLive::Channel::VideoSelectorProgramId',
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::MediaLive::Channel::VideoSelectorProgramIdValue->new( %$_ );
33 }
34 1 };
35  
36 1 package Cfn::Resource::Properties::AWS::MediaLive::Channel::VideoSelectorProgramIdValue {
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 ProgramId => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
42 }
43  
44 1 subtype 'Cfn::Resource::Properties::AWS::MediaLive::Channel::VideoSelectorPid',
45 as 'Cfn::Value';
46  
47 coerce 'Cfn::Resource::Properties::AWS::MediaLive::Channel::VideoSelectorPid',
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::AWS::MediaLive::Channel::VideoSelectorPidValue->new( %$_ );
54 }
55 1 };
56  
57 1 package Cfn::Resource::Properties::AWS::MediaLive::Channel::VideoSelectorPidValue {
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 Pid => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
63 }
64  
65 1 subtype 'Cfn::Resource::Properties::AWS::MediaLive::Channel::TeletextSourceSettings',
66 as 'Cfn::Value';
67  
68 coerce 'Cfn::Resource::Properties::AWS::MediaLive::Channel::TeletextSourceSettings',
69 from 'HashRef',
70 via {
71 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
72 0 return $f
73 } else {
74 0 return Cfn::Resource::Properties::AWS::MediaLive::Channel::TeletextSourceSettingsValue->new( %$_ );
75 }
76 1 };
77  
78 1 package Cfn::Resource::Properties::AWS::MediaLive::Channel::TeletextSourceSettingsValue {
79 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
80 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
81 1 extends 'Cfn::Value::TypedValue';
82
83 1 has PageNumber => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
84 }
85  
86 1 subtype 'Cfn::Resource::Properties::AWS::MediaLive::Channel::Scte27SourceSettings',
87 as 'Cfn::Value';
88  
89 coerce 'Cfn::Resource::Properties::AWS::MediaLive::Channel::Scte27SourceSettings',
90 from 'HashRef',
91 via {
92 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
93 0 return $f
94 } else {
95 0 return Cfn::Resource::Properties::AWS::MediaLive::Channel::Scte27SourceSettingsValue->new( %$_ );
96 }
97 1 };
98  
99 1 package Cfn::Resource::Properties::AWS::MediaLive::Channel::Scte27SourceSettingsValue {
100 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
101 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
102 1 extends 'Cfn::Value::TypedValue';
103
104 1 has Pid => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
105 }
106  
107 1 subtype 'Cfn::Resource::Properties::AWS::MediaLive::Channel::Scte20SourceSettings',
108 as 'Cfn::Value';
109  
110 coerce 'Cfn::Resource::Properties::AWS::MediaLive::Channel::Scte20SourceSettings',
111 from 'HashRef',
112 via {
113 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
114 0 return $f
115 } else {
116 0 return Cfn::Resource::Properties::AWS::MediaLive::Channel::Scte20SourceSettingsValue->new( %$_ );
117 }
118 1 };
119  
120 1 package Cfn::Resource::Properties::AWS::MediaLive::Channel::Scte20SourceSettingsValue {
121 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
122 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
123 1 extends 'Cfn::Value::TypedValue';
124
125 1 has Convert608To708 => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
126 1 has Source608ChannelNumber => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
127 }
128  
129 1 subtype 'Cfn::Resource::Properties::AWS::MediaLive::Channel::EmbeddedSourceSettings',
130 as 'Cfn::Value';
131  
132 coerce 'Cfn::Resource::Properties::AWS::MediaLive::Channel::EmbeddedSourceSettings',
133 from 'HashRef',
134 via {
135 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
136 0 return $f
137 } else {
138 0 return Cfn::Resource::Properties::AWS::MediaLive::Channel::EmbeddedSourceSettingsValue->new( %$_ );
139 }
140 1 };
141  
142 1 package Cfn::Resource::Properties::AWS::MediaLive::Channel::EmbeddedSourceSettingsValue {
143 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
144 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
145 1 extends 'Cfn::Value::TypedValue';
146
147 1 has Convert608To708 => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
148 1 has Scte20Detection => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
149 1 has Source608ChannelNumber => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
150 1 has Source608TrackNumber => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
151 }
152  
153 1 subtype 'Cfn::Resource::Properties::AWS::MediaLive::Channel::DvbSubSourceSettings',
154 as 'Cfn::Value';
155  
156 coerce 'Cfn::Resource::Properties::AWS::MediaLive::Channel::DvbSubSourceSettings',
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::AWS::MediaLive::Channel::DvbSubSourceSettingsValue->new( %$_ );
163 }
164 1 };
165  
166 1 package Cfn::Resource::Properties::AWS::MediaLive::Channel::DvbSubSourceSettingsValue {
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 Pid => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
172 }
173  
174 1 subtype 'Cfn::Resource::Properties::AWS::MediaLive::Channel::AudioPidSelection',
175 as 'Cfn::Value';
176  
177 coerce 'Cfn::Resource::Properties::AWS::MediaLive::Channel::AudioPidSelection',
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::AWS::MediaLive::Channel::AudioPidSelectionValue->new( %$_ );
184 }
185 1 };
186  
187 1 package Cfn::Resource::Properties::AWS::MediaLive::Channel::AudioPidSelectionValue {
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 Pid => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
193 }
194  
195 1 subtype 'Cfn::Resource::Properties::AWS::MediaLive::Channel::AudioLanguageSelection',
196 as 'Cfn::Value';
197  
198 coerce 'Cfn::Resource::Properties::AWS::MediaLive::Channel::AudioLanguageSelection',
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::AWS::MediaLive::Channel::AudioLanguageSelectionValue->new( %$_ );
205 }
206 1 };
207  
208 1 package Cfn::Resource::Properties::AWS::MediaLive::Channel::AudioLanguageSelectionValue {
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 LanguageCode => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
214 1 has LanguageSelectionPolicy => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
215 }
216  
217 1 subtype 'Cfn::Resource::Properties::AWS::MediaLive::Channel::AribSourceSettings',
218 as 'Cfn::Value';
219  
220 coerce 'Cfn::Resource::Properties::AWS::MediaLive::Channel::AribSourceSettings',
221 from 'HashRef',
222 via {
223 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
224 0 return $f
225 } else {
226 0 return Cfn::Resource::Properties::AWS::MediaLive::Channel::AribSourceSettingsValue->new( %$_ );
227 }
228 1 };
229  
230 1 package Cfn::Resource::Properties::AWS::MediaLive::Channel::AribSourceSettingsValue {
231 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
232 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
233 1 extends 'Cfn::Value::TypedValue';
234
235 }
236  
237 1 subtype 'Cfn::Resource::Properties::AWS::MediaLive::Channel::VideoSelectorSettings',
238 as 'Cfn::Value';
239  
240 coerce 'Cfn::Resource::Properties::AWS::MediaLive::Channel::VideoSelectorSettings',
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::AWS::MediaLive::Channel::VideoSelectorSettingsValue->new( %$_ );
247 }
248 1 };
249  
250 1 package Cfn::Resource::Properties::AWS::MediaLive::Channel::VideoSelectorSettingsValue {
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 VideoSelectorPid => (isa => 'Cfn::Resource::Properties::AWS::MediaLive::Channel::VideoSelectorPid', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
256 1 has VideoSelectorProgramId => (isa => 'Cfn::Resource::Properties::AWS::MediaLive::Channel::VideoSelectorProgramId', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
257 }
258  
259 1 subtype 'Cfn::Resource::Properties::AWS::MediaLive::Channel::HlsInputSettings',
260 as 'Cfn::Value';
261  
262 coerce 'Cfn::Resource::Properties::AWS::MediaLive::Channel::HlsInputSettings',
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::AWS::MediaLive::Channel::HlsInputSettingsValue->new( %$_ );
269 }
270 1 };
271  
272 1 package Cfn::Resource::Properties::AWS::MediaLive::Channel::HlsInputSettingsValue {
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 Bandwidth => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
278 1 has BufferSegments => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
279 1 has Retries => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
280 1 has RetryInterval => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
281 }
282  
283 1 subtype 'Cfn::Resource::Properties::AWS::MediaLive::Channel::CaptionSelectorSettings',
284 as 'Cfn::Value';
285  
286 coerce 'Cfn::Resource::Properties::AWS::MediaLive::Channel::CaptionSelectorSettings',
287 from 'HashRef',
288 via {
289 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
290 0 return $f
291 } else {
292 0 return Cfn::Resource::Properties::AWS::MediaLive::Channel::CaptionSelectorSettingsValue->new( %$_ );
293 }
294 1 };
295  
296 1 package Cfn::Resource::Properties::AWS::MediaLive::Channel::CaptionSelectorSettingsValue {
297 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
298 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
299 1 extends 'Cfn::Value::TypedValue';
300
301 1 has AribSourceSettings => (isa => 'Cfn::Resource::Properties::AWS::MediaLive::Channel::AribSourceSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
302 1 has DvbSubSourceSettings => (isa => 'Cfn::Resource::Properties::AWS::MediaLive::Channel::DvbSubSourceSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
303 1 has EmbeddedSourceSettings => (isa => 'Cfn::Resource::Properties::AWS::MediaLive::Channel::EmbeddedSourceSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
304 1 has Scte20SourceSettings => (isa => 'Cfn::Resource::Properties::AWS::MediaLive::Channel::Scte20SourceSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
305 1 has Scte27SourceSettings => (isa => 'Cfn::Resource::Properties::AWS::MediaLive::Channel::Scte27SourceSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
306 1 has TeletextSourceSettings => (isa => 'Cfn::Resource::Properties::AWS::MediaLive::Channel::TeletextSourceSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
307 }
308  
309 1 subtype 'Cfn::Resource::Properties::AWS::MediaLive::Channel::AudioSelectorSettings',
310 as 'Cfn::Value';
311  
312 coerce 'Cfn::Resource::Properties::AWS::MediaLive::Channel::AudioSelectorSettings',
313 from 'HashRef',
314 via {
315 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
316 0 return $f
317 } else {
318 0 return Cfn::Resource::Properties::AWS::MediaLive::Channel::AudioSelectorSettingsValue->new( %$_ );
319 }
320 1 };
321  
322 1 package Cfn::Resource::Properties::AWS::MediaLive::Channel::AudioSelectorSettingsValue {
323 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
324 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
325 1 extends 'Cfn::Value::TypedValue';
326
327 1 has AudioLanguageSelection => (isa => 'Cfn::Resource::Properties::AWS::MediaLive::Channel::AudioLanguageSelection', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
328 1 has AudioPidSelection => (isa => 'Cfn::Resource::Properties::AWS::MediaLive::Channel::AudioPidSelection', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
329 }
330  
331 1 subtype 'Cfn::Resource::Properties::AWS::MediaLive::Channel::VideoSelector',
332 as 'Cfn::Value';
333  
334 coerce 'Cfn::Resource::Properties::AWS::MediaLive::Channel::VideoSelector',
335 from 'HashRef',
336 via {
337 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
338 0 return $f
339 } else {
340 0 return Cfn::Resource::Properties::AWS::MediaLive::Channel::VideoSelectorValue->new( %$_ );
341 }
342 1 };
343  
344 1 package Cfn::Resource::Properties::AWS::MediaLive::Channel::VideoSelectorValue {
345 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
346 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
347 1 extends 'Cfn::Value::TypedValue';
348
349 1 has ColorSpace => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
350 1 has ColorSpaceUsage => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
351 1 has SelectorSettings => (isa => 'Cfn::Resource::Properties::AWS::MediaLive::Channel::VideoSelectorSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
352 }
353  
354 1 subtype 'Cfn::Resource::Properties::AWS::MediaLive::Channel::NetworkInputSettings',
355 as 'Cfn::Value';
356  
357 coerce 'Cfn::Resource::Properties::AWS::MediaLive::Channel::NetworkInputSettings',
358 from 'HashRef',
359 via {
360 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
361 0 return $f
362 } else {
363 0 return Cfn::Resource::Properties::AWS::MediaLive::Channel::NetworkInputSettingsValue->new( %$_ );
364 }
365 1 };
366  
367 1 package Cfn::Resource::Properties::AWS::MediaLive::Channel::NetworkInputSettingsValue {
368 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
369 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
370 1 extends 'Cfn::Value::TypedValue';
371
372 1 has HlsInputSettings => (isa => 'Cfn::Resource::Properties::AWS::MediaLive::Channel::HlsInputSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
373 1 has ServerValidation => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
374 }
375 subtype 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Channel::CaptionSelector',
376 as 'Cfn::Value',
377 0 ▶ where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
$_->isa("Cfn::Value::Array") or $_->isa("Cfn::Value::Function") 0 0 0
378 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
379  
380 coerce 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Channel::CaptionSelector',
381 from 'HashRef',
382 via {
383 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
384 0 return $f
385 } else {
386 0 die 'Only accepts functions';
387 }
388 },
389 from 'ArrayRef',
390 via {
391 Cfn::Value::Array->new(Value => [
392 map {
393 0 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::MediaLive::Channel::CaptionSelector')->coerce($_)
Subroutine __ANON__: not called CC=1 SCAR=6.9
394 } @$_
395 ]);
396 1 };
397  
398 1 subtype 'Cfn::Resource::Properties::AWS::MediaLive::Channel::CaptionSelector',
399 as 'Cfn::Value';
400  
401 coerce 'Cfn::Resource::Properties::AWS::MediaLive::Channel::CaptionSelector',
402 from 'HashRef',
403 via {
404 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
405 0 return $f
406 } else {
407 0 return Cfn::Resource::Properties::AWS::MediaLive::Channel::CaptionSelectorValue->new( %$_ );
408 }
409 1 };
410  
411 1 package Cfn::Resource::Properties::AWS::MediaLive::Channel::CaptionSelectorValue {
412 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
413 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
414 1 extends 'Cfn::Value::TypedValue';
415
416 1 has LanguageCode => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
417 1 has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
418 1 has SelectorSettings => (isa => 'Cfn::Resource::Properties::AWS::MediaLive::Channel::CaptionSelectorSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
419 }
420 subtype 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Channel::AudioSelector',
421 as 'Cfn::Value',
422 0 ▶ where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
$_->isa("Cfn::Value::Array") or $_->isa("Cfn::Value::Function") 0 0 0
423 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
424  
425 coerce 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Channel::AudioSelector',
426 from 'HashRef',
427 via {
428 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
429 0 return $f
430 } else {
431 0 die 'Only accepts functions';
432 }
433 },
434 from 'ArrayRef',
435 via {
436 Cfn::Value::Array->new(Value => [
437 map {
438 0 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::MediaLive::Channel::AudioSelector')->coerce($_)
Subroutine __ANON__: not called CC=1 SCAR=6.9
439 } @$_
440 ]);
441 1 };
442  
443 1 subtype 'Cfn::Resource::Properties::AWS::MediaLive::Channel::AudioSelector',
444 as 'Cfn::Value';
445  
446 coerce 'Cfn::Resource::Properties::AWS::MediaLive::Channel::AudioSelector',
447 from 'HashRef',
448 via {
449 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
450 0 return $f
451 } else {
452 0 return Cfn::Resource::Properties::AWS::MediaLive::Channel::AudioSelectorValue->new( %$_ );
453 }
454 1 };
455  
456 1 package Cfn::Resource::Properties::AWS::MediaLive::Channel::AudioSelectorValue {
457 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
458 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
459 1 extends 'Cfn::Value::TypedValue';
460
461 1 has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
462 1 has SelectorSettings => (isa => 'Cfn::Resource::Properties::AWS::MediaLive::Channel::AudioSelectorSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
463 }
464 subtype 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Channel::OutputDestinationSettings',
465 as 'Cfn::Value',
466 0 ▶ where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
$_->isa("Cfn::Value::Array") or $_->isa("Cfn::Value::Function") 0 0 0
467 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
468  
469 coerce 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Channel::OutputDestinationSettings',
470 from 'HashRef',
471 via {
472 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
473 0 return $f
474 } else {
475 0 die 'Only accepts functions';
476 }
477 },
478 from 'ArrayRef',
479 via {
480 Cfn::Value::Array->new(Value => [
481 map {
482 0 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::MediaLive::Channel::OutputDestinationSettings')->coerce($_)
Subroutine __ANON__: not called CC=1 SCAR=6.9
483 } @$_
484 ]);
485 1 };
486  
487 1 subtype 'Cfn::Resource::Properties::AWS::MediaLive::Channel::OutputDestinationSettings',
488 as 'Cfn::Value';
489  
490 coerce 'Cfn::Resource::Properties::AWS::MediaLive::Channel::OutputDestinationSettings',
491 from 'HashRef',
492 via {
493 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
494 0 return $f
495 } else {
496 0 return Cfn::Resource::Properties::AWS::MediaLive::Channel::OutputDestinationSettingsValue->new( %$_ );
497 }
498 1 };
499  
500 1 package Cfn::Resource::Properties::AWS::MediaLive::Channel::OutputDestinationSettingsValue {
501 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
502 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
503 1 extends 'Cfn::Value::TypedValue';
504
505 1 has PasswordParam => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
506 1 has StreamName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
507 1 has Url => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
508 1 has Username => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
509 }
510  
511 1 subtype 'Cfn::Resource::Properties::AWS::MediaLive::Channel::MultiplexProgramChannelDestinationSettings',
512 as 'Cfn::Value';
513  
514 coerce 'Cfn::Resource::Properties::AWS::MediaLive::Channel::MultiplexProgramChannelDestinationSettings',
515 from 'HashRef',
516 via {
517 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
518 0 return $f
519 } else {
520 0 return Cfn::Resource::Properties::AWS::MediaLive::Channel::MultiplexProgramChannelDestinationSettingsValue->new( %$_ );
521 }
522 1 };
523  
524 1 package Cfn::Resource::Properties::AWS::MediaLive::Channel::MultiplexProgramChannelDestinationSettingsValue {
525 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
526 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
527 1 extends 'Cfn::Value::TypedValue';
528
529 1 has MultiplexId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
530 1 has ProgramName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
531 }
532 subtype 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Channel::MediaPackageOutputDestinationSettings',
533 as 'Cfn::Value',
534 0 ▶ where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
$_->isa("Cfn::Value::Array") or $_->isa("Cfn::Value::Function") 0 0 0
535 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
536  
537 coerce 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Channel::MediaPackageOutputDestinationSettings',
538 from 'HashRef',
539 via {
540 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
541 0 return $f
542 } else {
543 0 die 'Only accepts functions';
544 }
545 },
546 from 'ArrayRef',
547 via {
548 Cfn::Value::Array->new(Value => [
549 map {
550 0 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::MediaLive::Channel::MediaPackageOutputDestinationSettings')->coerce($_)
Subroutine __ANON__: not called CC=1 SCAR=6.9
551 } @$_
552 ]);
553 1 };
554  
555 1 subtype 'Cfn::Resource::Properties::AWS::MediaLive::Channel::MediaPackageOutputDestinationSettings',
556 as 'Cfn::Value';
557  
558 coerce 'Cfn::Resource::Properties::AWS::MediaLive::Channel::MediaPackageOutputDestinationSettings',
559 from 'HashRef',
560 via {
561 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
562 0 return $f
563 } else {
564 0 return Cfn::Resource::Properties::AWS::MediaLive::Channel::MediaPackageOutputDestinationSettingsValue->new( %$_ );
565 }
566 1 };
567  
568 1 package Cfn::Resource::Properties::AWS::MediaLive::Channel::MediaPackageOutputDestinationSettingsValue {
569 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
570 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
571 1 extends 'Cfn::Value::TypedValue';
572
573 1 has ChannelId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
574 }
575  
576 1 subtype 'Cfn::Resource::Properties::AWS::MediaLive::Channel::InputSettings',
577 as 'Cfn::Value';
578  
579 coerce 'Cfn::Resource::Properties::AWS::MediaLive::Channel::InputSettings',
580 from 'HashRef',
581 via {
582 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
583 0 return $f
584 } else {
585 0 return Cfn::Resource::Properties::AWS::MediaLive::Channel::InputSettingsValue->new( %$_ );
586 }
587 1 };
588  
589 1 package Cfn::Resource::Properties::AWS::MediaLive::Channel::InputSettingsValue {
590 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
591 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
592 1 extends 'Cfn::Value::TypedValue';
593
594 1 has AudioSelectors => (isa => 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Channel::AudioSelector', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
595 1 has CaptionSelectors => (isa => 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Channel::CaptionSelector', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
596 1 has DeblockFilter => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
597 1 has DenoiseFilter => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
598 1 has FilterStrength => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
599 1 has InputFilter => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
600 1 has NetworkInputSettings => (isa => 'Cfn::Resource::Properties::AWS::MediaLive::Channel::NetworkInputSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
601 1 has SourceEndBehavior => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
602 1 has VideoSelector => (isa => 'Cfn::Resource::Properties::AWS::MediaLive::Channel::VideoSelector', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
603 }
604 subtype 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Channel::OutputDestination',
605 as 'Cfn::Value',
606 0 ▶ where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
$_->isa("Cfn::Value::Array") or $_->isa("Cfn::Value::Function") 0 0 0
607 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
608  
609 coerce 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Channel::OutputDestination',
610 from 'HashRef',
611 via {
612 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
613 0 return $f
614 } else {
615 0 die 'Only accepts functions';
616 }
617 },
618 from 'ArrayRef',
619 via {
620 Cfn::Value::Array->new(Value => [
621 map {
622 0 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::MediaLive::Channel::OutputDestination')->coerce($_)
Subroutine __ANON__: not called CC=1 SCAR=6.9
623 } @$_
624 ]);
625 1 };
626  
627 1 subtype 'Cfn::Resource::Properties::AWS::MediaLive::Channel::OutputDestination',
628 as 'Cfn::Value';
629  
630 coerce 'Cfn::Resource::Properties::AWS::MediaLive::Channel::OutputDestination',
631 from 'HashRef',
632 via {
633 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
634 0 return $f
635 } else {
636 0 return Cfn::Resource::Properties::AWS::MediaLive::Channel::OutputDestinationValue->new( %$_ );
637 }
638 1 };
639  
640 1 package Cfn::Resource::Properties::AWS::MediaLive::Channel::OutputDestinationValue {
641 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
642 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
643 1 extends 'Cfn::Value::TypedValue';
644
645 1 has Id => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
646 1 has MediaPackageSettings => (isa => 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Channel::MediaPackageOutputDestinationSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
647 1 has MultiplexSettings => (isa => 'Cfn::Resource::Properties::AWS::MediaLive::Channel::MultiplexProgramChannelDestinationSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
648 1 has Settings => (isa => 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Channel::OutputDestinationSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
649 }
650  
651 1 subtype 'Cfn::Resource::Properties::AWS::MediaLive::Channel::InputSpecification',
652 as 'Cfn::Value';
653  
654 coerce 'Cfn::Resource::Properties::AWS::MediaLive::Channel::InputSpecification',
655 from 'HashRef',
656 via {
657 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
658 0 return $f
659 } else {
660 0 return Cfn::Resource::Properties::AWS::MediaLive::Channel::InputSpecificationValue->new( %$_ );
661 }
662 1 };
663  
664 1 package Cfn::Resource::Properties::AWS::MediaLive::Channel::InputSpecificationValue {
665 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
666 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
667 1 extends 'Cfn::Value::TypedValue';
668
669 1 has Codec => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
670 1 has MaximumBitrate => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
671 1 has Resolution => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
672 }
673 subtype 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Channel::InputAttachment',
674 as 'Cfn::Value',
675 0 ▶ where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
$_->isa("Cfn::Value::Array") or $_->isa("Cfn::Value::Function") 0 0 0
676 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
677  
678 coerce 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Channel::InputAttachment',
679 from 'HashRef',
680 via {
681 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
682 0 return $f
683 } else {
684 0 die 'Only accepts functions';
685 }
686 },
687 from 'ArrayRef',
688 via {
689 Cfn::Value::Array->new(Value => [
690 map {
691 0 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::MediaLive::Channel::InputAttachment')->coerce($_)
Subroutine __ANON__: not called CC=1 SCAR=6.9
692 } @$_
693 ]);
694 1 };
695  
696 1 subtype 'Cfn::Resource::Properties::AWS::MediaLive::Channel::InputAttachment',
697 as 'Cfn::Value';
698  
699 coerce 'Cfn::Resource::Properties::AWS::MediaLive::Channel::InputAttachment',
700 from 'HashRef',
701 via {
702 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
703 0 return $f
704 } else {
705 0 return Cfn::Resource::Properties::AWS::MediaLive::Channel::InputAttachmentValue->new( %$_ );
706 }
707 1 };
708  
709 1 package Cfn::Resource::Properties::AWS::MediaLive::Channel::InputAttachmentValue {
710 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
711 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
712 1 extends 'Cfn::Value::TypedValue';
713
714 1 has InputAttachmentName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
715 1 has InputId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
716 1 has InputSettings => (isa => 'Cfn::Resource::Properties::AWS::MediaLive::Channel::InputSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
717 }
718  
719 1 package Cfn::Resource::Properties::AWS::MediaLive::Channel {
720 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
721 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
722 1 extends 'Cfn::Resource::Properties';
723
724 1 has ChannelClass => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
725 1 has Destinations => (isa => 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Channel::OutputDestination', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
726 1 has EncoderSettings => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
727 1 has InputAttachments => (isa => 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Channel::InputAttachment', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
728 1 has InputSpecification => (isa => 'Cfn::Resource::Properties::AWS::MediaLive::Channel::InputSpecification', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
729 1 has LogLevel => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
730 1 has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
731 1 has RoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
732 1 has Tags => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
733 }
734  
735 1 1;
« Cfn/Resource/AWS/CodeDeploy/DeploymentGroup.pm ↑ Summary Cfn/Resource/AWS/WAFv2/WebACL.pm »