File Coverage

blib/lib/Cfn/Resource/AWS/MediaLive/Channel.pm
Criterion Covered Total %
statement 164 164 100.0
branch n/a
condition n/a
subroutine 56 56 100.0
pod 0 2 0.0
total 220 222 99.1


line stmt bran cond sub pod time code
1             # AWS::MediaLive::Channel generated from spec 11.1.0
2 1     1   808 use Moose::Util::TypeConstraints;
  1         3  
  1         11  
3              
4             coerce 'Cfn::Resource::Properties::AWS::MediaLive::Channel',
5             from 'HashRef',
6             via { Cfn::Resource::Properties::AWS::MediaLive::Channel->new( %$_ ) };
7              
8             package Cfn::Resource::AWS::MediaLive::Channel {
9 1     1   2152 use Moose;
  1         2  
  1         9  
10             extends 'Cfn::Resource';
11             has Properties => (isa => 'Cfn::Resource::Properties::AWS::MediaLive::Channel', is => 'rw', coerce => 1);
12            
13             sub AttributeList {
14 1     1 0 5 [ 'Arn','Inputs' ]
15             }
16             sub supported_regions {
17 1     1 0 1596 [ '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' ]
18             }
19             }
20              
21              
22              
23             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             if (my $f = Cfn::TypeLibrary::try_function($_)) {
30             return $f
31             } else {
32             return Cfn::Resource::Properties::AWS::MediaLive::Channel::VideoSelectorProgramIdValue->new( %$_ );
33             }
34             };
35              
36             package Cfn::Resource::Properties::AWS::MediaLive::Channel::VideoSelectorProgramIdValue {
37 1     1   7166 use Moose;
  1         4  
  1         5  
38 1     1   6893 use MooseX::StrictConstructor;
  1         2  
  1         12  
39             extends 'Cfn::Value::TypedValue';
40            
41             has ProgramId => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
42             }
43              
44             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             if (my $f = Cfn::TypeLibrary::try_function($_)) {
51             return $f
52             } else {
53             return Cfn::Resource::Properties::AWS::MediaLive::Channel::VideoSelectorPidValue->new( %$_ );
54             }
55             };
56              
57             package Cfn::Resource::Properties::AWS::MediaLive::Channel::VideoSelectorPidValue {
58 1     1   3625 use Moose;
  1         3  
  1         5  
59 1     1   6597 use MooseX::StrictConstructor;
  1         3  
  1         4  
60             extends 'Cfn::Value::TypedValue';
61            
62             has Pid => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
63             }
64              
65             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             if (my $f = Cfn::TypeLibrary::try_function($_)) {
72             return $f
73             } else {
74             return Cfn::Resource::Properties::AWS::MediaLive::Channel::TeletextSourceSettingsValue->new( %$_ );
75             }
76             };
77              
78             package Cfn::Resource::Properties::AWS::MediaLive::Channel::TeletextSourceSettingsValue {
79 1     1   3282 use Moose;
  1         2  
  1         6  
80 1     1   6541 use MooseX::StrictConstructor;
  1         3  
  1         5  
81             extends 'Cfn::Value::TypedValue';
82            
83             has PageNumber => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
84             }
85              
86             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             if (my $f = Cfn::TypeLibrary::try_function($_)) {
93             return $f
94             } else {
95             return Cfn::Resource::Properties::AWS::MediaLive::Channel::Scte27SourceSettingsValue->new( %$_ );
96             }
97             };
98              
99             package Cfn::Resource::Properties::AWS::MediaLive::Channel::Scte27SourceSettingsValue {
100 1     1   3302 use Moose;
  1         2  
  1         6  
101 1     1   6432 use MooseX::StrictConstructor;
  1         3  
  1         6  
102             extends 'Cfn::Value::TypedValue';
103            
104             has Pid => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
105             }
106              
107             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             if (my $f = Cfn::TypeLibrary::try_function($_)) {
114             return $f
115             } else {
116             return Cfn::Resource::Properties::AWS::MediaLive::Channel::Scte20SourceSettingsValue->new( %$_ );
117             }
118             };
119              
120             package Cfn::Resource::Properties::AWS::MediaLive::Channel::Scte20SourceSettingsValue {
121 1     1   3476 use Moose;
  1         3  
  1         5  
122 1     1   6870 use MooseX::StrictConstructor;
  1         2  
  1         6  
123             extends 'Cfn::Value::TypedValue';
124            
125             has Convert608To708 => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
126             has Source608ChannelNumber => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
127             }
128              
129             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             if (my $f = Cfn::TypeLibrary::try_function($_)) {
136             return $f
137             } else {
138             return Cfn::Resource::Properties::AWS::MediaLive::Channel::EmbeddedSourceSettingsValue->new( %$_ );
139             }
140             };
141              
142             package Cfn::Resource::Properties::AWS::MediaLive::Channel::EmbeddedSourceSettingsValue {
143 1     1   3450 use Moose;
  1         3  
  1         6  
144 1     1   6479 use MooseX::StrictConstructor;
  1         3  
  1         4  
145             extends 'Cfn::Value::TypedValue';
146            
147             has Convert608To708 => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
148             has Scte20Detection => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
149             has Source608ChannelNumber => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
150             has Source608TrackNumber => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
151             }
152              
153             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             if (my $f = Cfn::TypeLibrary::try_function($_)) {
160             return $f
161             } else {
162             return Cfn::Resource::Properties::AWS::MediaLive::Channel::DvbSubSourceSettingsValue->new( %$_ );
163             }
164             };
165              
166             package Cfn::Resource::Properties::AWS::MediaLive::Channel::DvbSubSourceSettingsValue {
167 1     1   3316 use Moose;
  1         3  
  1         6  
168 1     1   6543 use MooseX::StrictConstructor;
  1         3  
  1         6  
169             extends 'Cfn::Value::TypedValue';
170            
171             has Pid => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
172             }
173              
174             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             if (my $f = Cfn::TypeLibrary::try_function($_)) {
181             return $f
182             } else {
183             return Cfn::Resource::Properties::AWS::MediaLive::Channel::AudioPidSelectionValue->new( %$_ );
184             }
185             };
186              
187             package Cfn::Resource::Properties::AWS::MediaLive::Channel::AudioPidSelectionValue {
188 1     1   3767 use Moose;
  1         3  
  1         6  
189 1     1   6501 use MooseX::StrictConstructor;
  1         3  
  1         5  
190             extends 'Cfn::Value::TypedValue';
191            
192             has Pid => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
193             }
194              
195             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             if (my $f = Cfn::TypeLibrary::try_function($_)) {
202             return $f
203             } else {
204             return Cfn::Resource::Properties::AWS::MediaLive::Channel::AudioLanguageSelectionValue->new( %$_ );
205             }
206             };
207              
208             package Cfn::Resource::Properties::AWS::MediaLive::Channel::AudioLanguageSelectionValue {
209 1     1   3275 use Moose;
  1         3  
  1         5  
210 1     1   6436 use MooseX::StrictConstructor;
  1         2  
  1         5  
211             extends 'Cfn::Value::TypedValue';
212            
213             has LanguageCode => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
214             has LanguageSelectionPolicy => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
215             }
216              
217             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             if (my $f = Cfn::TypeLibrary::try_function($_)) {
224             return $f
225             } else {
226             return Cfn::Resource::Properties::AWS::MediaLive::Channel::AribSourceSettingsValue->new( %$_ );
227             }
228             };
229              
230             package Cfn::Resource::Properties::AWS::MediaLive::Channel::AribSourceSettingsValue {
231 1     1   3344 use Moose;
  1         2  
  1         5  
232 1     1   6375 use MooseX::StrictConstructor;
  1         3  
  1         5  
233             extends 'Cfn::Value::TypedValue';
234            
235             }
236              
237             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             if (my $f = Cfn::TypeLibrary::try_function($_)) {
244             return $f
245             } else {
246             return Cfn::Resource::Properties::AWS::MediaLive::Channel::VideoSelectorSettingsValue->new( %$_ );
247             }
248             };
249              
250             package Cfn::Resource::Properties::AWS::MediaLive::Channel::VideoSelectorSettingsValue {
251 1     1   3210 use Moose;
  1         3  
  1         6  
252 1     1   6455 use MooseX::StrictConstructor;
  1         2  
  1         6  
253             extends 'Cfn::Value::TypedValue';
254            
255             has VideoSelectorPid => (isa => 'Cfn::Resource::Properties::AWS::MediaLive::Channel::VideoSelectorPid', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
256             has VideoSelectorProgramId => (isa => 'Cfn::Resource::Properties::AWS::MediaLive::Channel::VideoSelectorProgramId', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
257             }
258              
259             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             if (my $f = Cfn::TypeLibrary::try_function($_)) {
266             return $f
267             } else {
268             return Cfn::Resource::Properties::AWS::MediaLive::Channel::HlsInputSettingsValue->new( %$_ );
269             }
270             };
271              
272             package Cfn::Resource::Properties::AWS::MediaLive::Channel::HlsInputSettingsValue {
273 1     1   3299 use Moose;
  1         3  
  1         6  
274 1     1   6460 use MooseX::StrictConstructor;
  1         5  
  1         6  
275             extends 'Cfn::Value::TypedValue';
276            
277             has Bandwidth => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
278             has BufferSegments => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
279             has Retries => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
280             has RetryInterval => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
281             }
282              
283             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             if (my $f = Cfn::TypeLibrary::try_function($_)) {
290             return $f
291             } else {
292             return Cfn::Resource::Properties::AWS::MediaLive::Channel::CaptionSelectorSettingsValue->new( %$_ );
293             }
294             };
295              
296             package Cfn::Resource::Properties::AWS::MediaLive::Channel::CaptionSelectorSettingsValue {
297 1     1   3416 use Moose;
  1         2  
  1         6  
298 1     1   6469 use MooseX::StrictConstructor;
  1         4  
  1         5  
299             extends 'Cfn::Value::TypedValue';
300            
301             has AribSourceSettings => (isa => 'Cfn::Resource::Properties::AWS::MediaLive::Channel::AribSourceSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
302             has DvbSubSourceSettings => (isa => 'Cfn::Resource::Properties::AWS::MediaLive::Channel::DvbSubSourceSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
303             has EmbeddedSourceSettings => (isa => 'Cfn::Resource::Properties::AWS::MediaLive::Channel::EmbeddedSourceSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
304             has Scte20SourceSettings => (isa => 'Cfn::Resource::Properties::AWS::MediaLive::Channel::Scte20SourceSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
305             has Scte27SourceSettings => (isa => 'Cfn::Resource::Properties::AWS::MediaLive::Channel::Scte27SourceSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
306             has TeletextSourceSettings => (isa => 'Cfn::Resource::Properties::AWS::MediaLive::Channel::TeletextSourceSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
307             }
308              
309             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             if (my $f = Cfn::TypeLibrary::try_function($_)) {
316             return $f
317             } else {
318             return Cfn::Resource::Properties::AWS::MediaLive::Channel::AudioSelectorSettingsValue->new( %$_ );
319             }
320             };
321              
322             package Cfn::Resource::Properties::AWS::MediaLive::Channel::AudioSelectorSettingsValue {
323 1     1   3356 use Moose;
  1         2  
  1         5  
324 1     1   6395 use MooseX::StrictConstructor;
  1         3  
  1         5  
325             extends 'Cfn::Value::TypedValue';
326            
327             has AudioLanguageSelection => (isa => 'Cfn::Resource::Properties::AWS::MediaLive::Channel::AudioLanguageSelection', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
328             has AudioPidSelection => (isa => 'Cfn::Resource::Properties::AWS::MediaLive::Channel::AudioPidSelection', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
329             }
330              
331             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             if (my $f = Cfn::TypeLibrary::try_function($_)) {
338             return $f
339             } else {
340             return Cfn::Resource::Properties::AWS::MediaLive::Channel::VideoSelectorValue->new( %$_ );
341             }
342             };
343              
344             package Cfn::Resource::Properties::AWS::MediaLive::Channel::VideoSelectorValue {
345 1     1   3301 use Moose;
  1         2  
  1         7  
346 1     1   6383 use MooseX::StrictConstructor;
  1         3  
  1         5  
347             extends 'Cfn::Value::TypedValue';
348            
349             has ColorSpace => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
350             has ColorSpaceUsage => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
351             has SelectorSettings => (isa => 'Cfn::Resource::Properties::AWS::MediaLive::Channel::VideoSelectorSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
352             }
353              
354             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             if (my $f = Cfn::TypeLibrary::try_function($_)) {
361             return $f
362             } else {
363             return Cfn::Resource::Properties::AWS::MediaLive::Channel::NetworkInputSettingsValue->new( %$_ );
364             }
365             };
366              
367             package Cfn::Resource::Properties::AWS::MediaLive::Channel::NetworkInputSettingsValue {
368 1     1   3295 use Moose;
  1         4  
  1         5  
369 1     1   6503 use MooseX::StrictConstructor;
  1         3  
  1         6  
370             extends 'Cfn::Value::TypedValue';
371            
372             has HlsInputSettings => (isa => 'Cfn::Resource::Properties::AWS::MediaLive::Channel::HlsInputSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
373             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             where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
378             message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
379              
380             coerce 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Channel::CaptionSelector',
381             from 'HashRef',
382             via {
383             if (my $f = Cfn::TypeLibrary::try_function($_)) {
384             return $f
385             } else {
386             die 'Only accepts functions';
387             }
388             },
389             from 'ArrayRef',
390             via {
391             Cfn::Value::Array->new(Value => [
392             map {
393             Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::MediaLive::Channel::CaptionSelector')->coerce($_)
394             } @$_
395             ]);
396             };
397              
398             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             if (my $f = Cfn::TypeLibrary::try_function($_)) {
405             return $f
406             } else {
407             return Cfn::Resource::Properties::AWS::MediaLive::Channel::CaptionSelectorValue->new( %$_ );
408             }
409             };
410              
411             package Cfn::Resource::Properties::AWS::MediaLive::Channel::CaptionSelectorValue {
412 1     1   3553 use Moose;
  1         3  
  1         5  
413 1     1   6439 use MooseX::StrictConstructor;
  1         2  
  1         5  
414             extends 'Cfn::Value::TypedValue';
415            
416             has LanguageCode => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
417             has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
418             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             where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
423             message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
424              
425             coerce 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Channel::AudioSelector',
426             from 'HashRef',
427             via {
428             if (my $f = Cfn::TypeLibrary::try_function($_)) {
429             return $f
430             } else {
431             die 'Only accepts functions';
432             }
433             },
434             from 'ArrayRef',
435             via {
436             Cfn::Value::Array->new(Value => [
437             map {
438             Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::MediaLive::Channel::AudioSelector')->coerce($_)
439             } @$_
440             ]);
441             };
442              
443             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             if (my $f = Cfn::TypeLibrary::try_function($_)) {
450             return $f
451             } else {
452             return Cfn::Resource::Properties::AWS::MediaLive::Channel::AudioSelectorValue->new( %$_ );
453             }
454             };
455              
456             package Cfn::Resource::Properties::AWS::MediaLive::Channel::AudioSelectorValue {
457 1     1   3505 use Moose;
  1         3  
  1         6  
458 1     1   6380 use MooseX::StrictConstructor;
  1         3  
  1         6  
459             extends 'Cfn::Value::TypedValue';
460            
461             has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
462             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             where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
467             message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
468              
469             coerce 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Channel::OutputDestinationSettings',
470             from 'HashRef',
471             via {
472             if (my $f = Cfn::TypeLibrary::try_function($_)) {
473             return $f
474             } else {
475             die 'Only accepts functions';
476             }
477             },
478             from 'ArrayRef',
479             via {
480             Cfn::Value::Array->new(Value => [
481             map {
482             Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::MediaLive::Channel::OutputDestinationSettings')->coerce($_)
483             } @$_
484             ]);
485             };
486              
487             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             if (my $f = Cfn::TypeLibrary::try_function($_)) {
494             return $f
495             } else {
496             return Cfn::Resource::Properties::AWS::MediaLive::Channel::OutputDestinationSettingsValue->new( %$_ );
497             }
498             };
499              
500             package Cfn::Resource::Properties::AWS::MediaLive::Channel::OutputDestinationSettingsValue {
501 1     1   3480 use Moose;
  1         3  
  1         7  
502 1     1   6465 use MooseX::StrictConstructor;
  1         3  
  1         7  
503             extends 'Cfn::Value::TypedValue';
504            
505             has PasswordParam => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
506             has StreamName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
507             has Url => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
508             has Username => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
509             }
510              
511             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             if (my $f = Cfn::TypeLibrary::try_function($_)) {
518             return $f
519             } else {
520             return Cfn::Resource::Properties::AWS::MediaLive::Channel::MultiplexProgramChannelDestinationSettingsValue->new( %$_ );
521             }
522             };
523              
524             package Cfn::Resource::Properties::AWS::MediaLive::Channel::MultiplexProgramChannelDestinationSettingsValue {
525 1     1   3361 use Moose;
  1         3  
  1         6  
526 1     1   6817 use MooseX::StrictConstructor;
  1         2  
  1         5  
527             extends 'Cfn::Value::TypedValue';
528            
529             has MultiplexId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
530             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             where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
535             message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
536              
537             coerce 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Channel::MediaPackageOutputDestinationSettings',
538             from 'HashRef',
539             via {
540             if (my $f = Cfn::TypeLibrary::try_function($_)) {
541             return $f
542             } else {
543             die 'Only accepts functions';
544             }
545             },
546             from 'ArrayRef',
547             via {
548             Cfn::Value::Array->new(Value => [
549             map {
550             Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::MediaLive::Channel::MediaPackageOutputDestinationSettings')->coerce($_)
551             } @$_
552             ]);
553             };
554              
555             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             if (my $f = Cfn::TypeLibrary::try_function($_)) {
562             return $f
563             } else {
564             return Cfn::Resource::Properties::AWS::MediaLive::Channel::MediaPackageOutputDestinationSettingsValue->new( %$_ );
565             }
566             };
567              
568             package Cfn::Resource::Properties::AWS::MediaLive::Channel::MediaPackageOutputDestinationSettingsValue {
569 1     1   3523 use Moose;
  1         4  
  1         5  
570 1     1   6509 use MooseX::StrictConstructor;
  1         2  
  1         4  
571             extends 'Cfn::Value::TypedValue';
572            
573             has ChannelId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
574             }
575              
576             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             if (my $f = Cfn::TypeLibrary::try_function($_)) {
583             return $f
584             } else {
585             return Cfn::Resource::Properties::AWS::MediaLive::Channel::InputSettingsValue->new( %$_ );
586             }
587             };
588              
589             package Cfn::Resource::Properties::AWS::MediaLive::Channel::InputSettingsValue {
590 1     1   3271 use Moose;
  1         3  
  1         5  
591 1     1   6490 use MooseX::StrictConstructor;
  1         3  
  1         5  
592             extends 'Cfn::Value::TypedValue';
593            
594             has AudioSelectors => (isa => 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Channel::AudioSelector', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
595             has CaptionSelectors => (isa => 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Channel::CaptionSelector', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
596             has DeblockFilter => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
597             has DenoiseFilter => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
598             has FilterStrength => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
599             has InputFilter => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
600             has NetworkInputSettings => (isa => 'Cfn::Resource::Properties::AWS::MediaLive::Channel::NetworkInputSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
601             has SourceEndBehavior => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
602             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             where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
607             message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
608              
609             coerce 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Channel::OutputDestination',
610             from 'HashRef',
611             via {
612             if (my $f = Cfn::TypeLibrary::try_function($_)) {
613             return $f
614             } else {
615             die 'Only accepts functions';
616             }
617             },
618             from 'ArrayRef',
619             via {
620             Cfn::Value::Array->new(Value => [
621             map {
622             Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::MediaLive::Channel::OutputDestination')->coerce($_)
623             } @$_
624             ]);
625             };
626              
627             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             if (my $f = Cfn::TypeLibrary::try_function($_)) {
634             return $f
635             } else {
636             return Cfn::Resource::Properties::AWS::MediaLive::Channel::OutputDestinationValue->new( %$_ );
637             }
638             };
639              
640             package Cfn::Resource::Properties::AWS::MediaLive::Channel::OutputDestinationValue {
641 1     1   3714 use Moose;
  1         8  
  1         7  
642 1     1   6518 use MooseX::StrictConstructor;
  1         6  
  1         4  
643             extends 'Cfn::Value::TypedValue';
644            
645             has Id => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
646             has MediaPackageSettings => (isa => 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Channel::MediaPackageOutputDestinationSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
647             has MultiplexSettings => (isa => 'Cfn::Resource::Properties::AWS::MediaLive::Channel::MultiplexProgramChannelDestinationSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
648             has Settings => (isa => 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Channel::OutputDestinationSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
649             }
650              
651             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             if (my $f = Cfn::TypeLibrary::try_function($_)) {
658             return $f
659             } else {
660             return Cfn::Resource::Properties::AWS::MediaLive::Channel::InputSpecificationValue->new( %$_ );
661             }
662             };
663              
664             package Cfn::Resource::Properties::AWS::MediaLive::Channel::InputSpecificationValue {
665 1     1   3377 use Moose;
  1         3  
  1         6  
666 1     1   6497 use MooseX::StrictConstructor;
  1         3  
  1         6  
667             extends 'Cfn::Value::TypedValue';
668            
669             has Codec => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
670             has MaximumBitrate => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
671             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             where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
676             message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
677              
678             coerce 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Channel::InputAttachment',
679             from 'HashRef',
680             via {
681             if (my $f = Cfn::TypeLibrary::try_function($_)) {
682             return $f
683             } else {
684             die 'Only accepts functions';
685             }
686             },
687             from 'ArrayRef',
688             via {
689             Cfn::Value::Array->new(Value => [
690             map {
691             Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::MediaLive::Channel::InputAttachment')->coerce($_)
692             } @$_
693             ]);
694             };
695              
696             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             if (my $f = Cfn::TypeLibrary::try_function($_)) {
703             return $f
704             } else {
705             return Cfn::Resource::Properties::AWS::MediaLive::Channel::InputAttachmentValue->new( %$_ );
706             }
707             };
708              
709             package Cfn::Resource::Properties::AWS::MediaLive::Channel::InputAttachmentValue {
710 1     1   3539 use Moose;
  1         3  
  1         5  
711 1     1   6471 use MooseX::StrictConstructor;
  1         4  
  1         5  
712             extends 'Cfn::Value::TypedValue';
713            
714             has InputAttachmentName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
715             has InputId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
716             has InputSettings => (isa => 'Cfn::Resource::Properties::AWS::MediaLive::Channel::InputSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
717             }
718              
719             package Cfn::Resource::Properties::AWS::MediaLive::Channel {
720 1     1   3314 use Moose;
  1         2  
  1         7  
721 1     1   6574 use MooseX::StrictConstructor;
  1         4  
  1         7  
722             extends 'Cfn::Resource::Properties';
723            
724             has ChannelClass => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
725             has Destinations => (isa => 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Channel::OutputDestination', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
726             has EncoderSettings => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
727             has InputAttachments => (isa => 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Channel::InputAttachment', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
728             has InputSpecification => (isa => 'Cfn::Resource::Properties::AWS::MediaLive::Channel::InputSpecification', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
729             has LogLevel => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
730             has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
731             has RoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
732             has Tags => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
733             }
734              
735             1;