File Coverage

blib/lib/Cfn/Resource/AWS/MediaLive/Channel.pm
Criterion Covered Total %
statement 158 158 100.0
branch n/a
condition n/a
subroutine 54 54 100.0
pod 0 2 0.0
total 212 214 99.0


line stmt bran cond sub pod time code
1             # AWS::MediaLive::Channel generated from spec 4.1.0
2 1     1   812 use Moose::Util::TypeConstraints;
  1         2  
  1         12  
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   2262 use Moose;
  1         2  
  1         10  
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 4 [ 'Arn','Inputs' ]
15             }
16             sub supported_regions {
17 1     1 0 1111 [ '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   7338 use Moose;
  1         3  
  1         6  
38 1     1   6540 use MooseX::StrictConstructor;
  1         3  
  1         11  
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   3580 use Moose;
  1         2  
  1         8  
59 1     1   6577 use MooseX::StrictConstructor;
  1         6  
  1         7  
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   3294 use Moose;
  1         3  
  1         6  
80 1     1   6494 use MooseX::StrictConstructor;
  1         2  
  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   3396 use Moose;
  1         2  
  1         6  
101 1     1   6521 use MooseX::StrictConstructor;
  1         4  
  1         4  
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   3293 use Moose;
  1         3  
  1         4  
122 1     1   6524 use MooseX::StrictConstructor;
  1         3  
  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   3323 use Moose;
  1         3  
  1         6  
144 1     1   6559 use MooseX::StrictConstructor;
  1         2  
  1         5  
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   3419 use Moose;
  1         3  
  1         6  
168 1     1   6512 use MooseX::StrictConstructor;
  1         3  
  1         4  
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   3340 use Moose;
  1         3  
  1         5  
189 1     1   6587 use MooseX::StrictConstructor;
  1         3  
  1         7  
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   3270 use Moose;
  1         3  
  1         7  
210 1     1   6449 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   3423 use Moose;
  1         2  
  1         5  
232 1     1   6871 use MooseX::StrictConstructor;
  1         4  
  1         7  
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   3329 use Moose;
  1         2  
  1         5  
252 1     1   6502 use MooseX::StrictConstructor;
  1         3  
  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   3318 use Moose;
  1         5  
  1         6  
274 1     1   6554 use MooseX::StrictConstructor;
  1         5  
  1         5  
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   3377 use Moose;
  1         11  
  1         7  
298 1     1   6543 use MooseX::StrictConstructor;
  1         5  
  1         6  
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   3412 use Moose;
  1         7  
  1         5  
324 1     1   6536 use MooseX::StrictConstructor;
  1         2  
  1         6  
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   3324 use Moose;
  1         3  
  1         6  
346 1     1   6506 use MooseX::StrictConstructor;
  1         3  
  1         4  
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   3351 use Moose;
  1         2  
  1         8  
369 1     1   6591 use MooseX::StrictConstructor;
  1         12  
  1         5  
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   3575 use Moose;
  1         4  
  1         856  
413 1     1   6464 use MooseX::StrictConstructor;
  1         2  
  1         4  
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   3551 use Moose;
  1         2  
  1         526  
458 1     1   6504 use MooseX::StrictConstructor;
  1         2  
  1         5  
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   3544 use Moose;
  1         2  
  1         5  
502 1     1   6576 use MooseX::StrictConstructor;
  1         3  
  1         4  
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             subtype 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Channel::MediaPackageOutputDestinationSettings',
511             as 'Cfn::Value',
512             where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
513             message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
514              
515             coerce 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Channel::MediaPackageOutputDestinationSettings',
516             from 'HashRef',
517             via {
518             if (my $f = Cfn::TypeLibrary::try_function($_)) {
519             return $f
520             } else {
521             die 'Only accepts functions';
522             }
523             },
524             from 'ArrayRef',
525             via {
526             Cfn::Value::Array->new(Value => [
527             map {
528             Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::MediaLive::Channel::MediaPackageOutputDestinationSettings')->coerce($_)
529             } @$_
530             ]);
531             };
532              
533             subtype 'Cfn::Resource::Properties::AWS::MediaLive::Channel::MediaPackageOutputDestinationSettings',
534             as 'Cfn::Value';
535              
536             coerce 'Cfn::Resource::Properties::AWS::MediaLive::Channel::MediaPackageOutputDestinationSettings',
537             from 'HashRef',
538             via {
539             if (my $f = Cfn::TypeLibrary::try_function($_)) {
540             return $f
541             } else {
542             return Cfn::Resource::Properties::AWS::MediaLive::Channel::MediaPackageOutputDestinationSettingsValue->new( %$_ );
543             }
544             };
545              
546             package Cfn::Resource::Properties::AWS::MediaLive::Channel::MediaPackageOutputDestinationSettingsValue {
547 1     1   3574 use Moose;
  1         2  
  1         5  
548 1     1   6494 use MooseX::StrictConstructor;
  1         2  
  1         5  
549             extends 'Cfn::Value::TypedValue';
550            
551             has ChannelId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
552             }
553              
554             subtype 'Cfn::Resource::Properties::AWS::MediaLive::Channel::InputSettings',
555             as 'Cfn::Value';
556              
557             coerce 'Cfn::Resource::Properties::AWS::MediaLive::Channel::InputSettings',
558             from 'HashRef',
559             via {
560             if (my $f = Cfn::TypeLibrary::try_function($_)) {
561             return $f
562             } else {
563             return Cfn::Resource::Properties::AWS::MediaLive::Channel::InputSettingsValue->new( %$_ );
564             }
565             };
566              
567             package Cfn::Resource::Properties::AWS::MediaLive::Channel::InputSettingsValue {
568 1     1   3332 use Moose;
  1         3  
  1         4  
569 1     1   6579 use MooseX::StrictConstructor;
  1         2  
  1         8  
570             extends 'Cfn::Value::TypedValue';
571            
572             has AudioSelectors => (isa => 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Channel::AudioSelector', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
573             has CaptionSelectors => (isa => 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Channel::CaptionSelector', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
574             has DeblockFilter => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
575             has DenoiseFilter => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
576             has FilterStrength => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
577             has InputFilter => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
578             has NetworkInputSettings => (isa => 'Cfn::Resource::Properties::AWS::MediaLive::Channel::NetworkInputSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
579             has SourceEndBehavior => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
580             has VideoSelector => (isa => 'Cfn::Resource::Properties::AWS::MediaLive::Channel::VideoSelector', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
581             }
582             subtype 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Channel::OutputDestination',
583             as 'Cfn::Value',
584             where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
585             message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
586              
587             coerce 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Channel::OutputDestination',
588             from 'HashRef',
589             via {
590             if (my $f = Cfn::TypeLibrary::try_function($_)) {
591             return $f
592             } else {
593             die 'Only accepts functions';
594             }
595             },
596             from 'ArrayRef',
597             via {
598             Cfn::Value::Array->new(Value => [
599             map {
600             Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::MediaLive::Channel::OutputDestination')->coerce($_)
601             } @$_
602             ]);
603             };
604              
605             subtype 'Cfn::Resource::Properties::AWS::MediaLive::Channel::OutputDestination',
606             as 'Cfn::Value';
607              
608             coerce 'Cfn::Resource::Properties::AWS::MediaLive::Channel::OutputDestination',
609             from 'HashRef',
610             via {
611             if (my $f = Cfn::TypeLibrary::try_function($_)) {
612             return $f
613             } else {
614             return Cfn::Resource::Properties::AWS::MediaLive::Channel::OutputDestinationValue->new( %$_ );
615             }
616             };
617              
618             package Cfn::Resource::Properties::AWS::MediaLive::Channel::OutputDestinationValue {
619 1     1   3699 use Moose;
  1         3  
  1         4  
620 1     1   6871 use MooseX::StrictConstructor;
  1         2  
  1         5  
621             extends 'Cfn::Value::TypedValue';
622            
623             has Id => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
624             has MediaPackageSettings => (isa => 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Channel::MediaPackageOutputDestinationSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
625             has Settings => (isa => 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Channel::OutputDestinationSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
626             }
627              
628             subtype 'Cfn::Resource::Properties::AWS::MediaLive::Channel::InputSpecification',
629             as 'Cfn::Value';
630              
631             coerce 'Cfn::Resource::Properties::AWS::MediaLive::Channel::InputSpecification',
632             from 'HashRef',
633             via {
634             if (my $f = Cfn::TypeLibrary::try_function($_)) {
635             return $f
636             } else {
637             return Cfn::Resource::Properties::AWS::MediaLive::Channel::InputSpecificationValue->new( %$_ );
638             }
639             };
640              
641             package Cfn::Resource::Properties::AWS::MediaLive::Channel::InputSpecificationValue {
642 1     1   3345 use Moose;
  1         4  
  1         5  
643 1     1   6590 use MooseX::StrictConstructor;
  1         2  
  1         4  
644             extends 'Cfn::Value::TypedValue';
645            
646             has Codec => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
647             has MaximumBitrate => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
648             has Resolution => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
649             }
650             subtype 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Channel::InputAttachment',
651             as 'Cfn::Value',
652             where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
653             message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
654              
655             coerce 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Channel::InputAttachment',
656             from 'HashRef',
657             via {
658             if (my $f = Cfn::TypeLibrary::try_function($_)) {
659             return $f
660             } else {
661             die 'Only accepts functions';
662             }
663             },
664             from 'ArrayRef',
665             via {
666             Cfn::Value::Array->new(Value => [
667             map {
668             Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::MediaLive::Channel::InputAttachment')->coerce($_)
669             } @$_
670             ]);
671             };
672              
673             subtype 'Cfn::Resource::Properties::AWS::MediaLive::Channel::InputAttachment',
674             as 'Cfn::Value';
675              
676             coerce 'Cfn::Resource::Properties::AWS::MediaLive::Channel::InputAttachment',
677             from 'HashRef',
678             via {
679             if (my $f = Cfn::TypeLibrary::try_function($_)) {
680             return $f
681             } else {
682             return Cfn::Resource::Properties::AWS::MediaLive::Channel::InputAttachmentValue->new( %$_ );
683             }
684             };
685              
686             package Cfn::Resource::Properties::AWS::MediaLive::Channel::InputAttachmentValue {
687 1     1   3508 use Moose;
  1         3  
  1         6  
688 1     1   6459 use MooseX::StrictConstructor;
  1         3  
  1         4  
689             extends 'Cfn::Value::TypedValue';
690            
691             has InputAttachmentName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
692             has InputId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
693             has InputSettings => (isa => 'Cfn::Resource::Properties::AWS::MediaLive::Channel::InputSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
694             }
695              
696             package Cfn::Resource::Properties::AWS::MediaLive::Channel {
697 1     1   3283 use Moose;
  1         3  
  1         5  
698 1     1   6558 use MooseX::StrictConstructor;
  1         2  
  1         5  
699             extends 'Cfn::Resource::Properties';
700            
701             has ChannelClass => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
702             has Destinations => (isa => 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Channel::OutputDestination', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
703             has EncoderSettings => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
704             has InputAttachments => (isa => 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Channel::InputAttachment', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
705             has InputSpecification => (isa => 'Cfn::Resource::Properties::AWS::MediaLive::Channel::InputSpecification', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
706             has LogLevel => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
707             has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
708             has RoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
709             has Tags => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
710             }
711              
712             1;