Cfn/Resource/AWS/MediaLive/Input.pm untested

filter: Statementstmt 0.0% 0 / 181 Branchbran 0.0% 0 / 20 Conditioncond 0.0% 0 / 12 MC/DCmcdc 0.0% 0 / 8 Subroutinesub 0.0% 0 / 18 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 241 CC 1 SCAR 6.9
CC
1
Cov
0%
AttributeList
2.0
supported_regions
2.0
BEGIN
2.0
CRAP 2.0
1 # AWS::MediaLive::Input generated from spec 18.4.0
2 use Moose::Util::TypeConstraints;
3  
4 coerce 'Cfn::Resource::Properties::AWS::MediaLive::Input',
5 from 'HashRef',
6 via { Cfn::Resource::Properties::AWS::MediaLive::Input->new( %$_ ) };
7  
8 package Cfn::Resource::AWS::MediaLive::Input {
9 use Moose;
10 extends 'Cfn::Resource';
11 has Properties => (isa => 'Cfn::Resource::Properties::AWS::MediaLive::Input', is => 'rw', coerce => 1);
12
13 sub AttributeList {
14 [ 'Arn','Destinations','Sources' ]
15 }
16 sub supported_regions {
17 [ '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 subtype 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Input::MediaConnectFlowRequest',
23 as 'Cfn::Value',
24 where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
25 message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
26  
27 coerce 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Input::MediaConnectFlowRequest',
28 from 'HashRef',
29 via {
30 if (my $f = Cfn::TypeLibrary::try_function($_)) {
31 return $f
32 } else {
33 die 'Only accepts functions';
34 }
35 },
36 from 'ArrayRef',
37 via {
38 Cfn::Value::Array->new(Value => [
39 map {
40 Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::MediaLive::Input::MediaConnectFlowRequest')->coerce($_)
41 } @$_
42 ]);
43 };
44  
45 subtype 'Cfn::Resource::Properties::AWS::MediaLive::Input::MediaConnectFlowRequest',
46 as 'Cfn::Value';
47  
48 coerce 'Cfn::Resource::Properties::AWS::MediaLive::Input::MediaConnectFlowRequest',
49 from 'HashRef',
50 via {
51 if (my $f = Cfn::TypeLibrary::try_function($_)) {
52 return $f
53 } else {
54 return Cfn::Resource::Properties::Object::AWS::MediaLive::Input::MediaConnectFlowRequest->new( %$_ );
55 }
56 };
57  
58 package Cfn::Resource::Properties::Object::AWS::MediaLive::Input::MediaConnectFlowRequest {
59 use Moose;
60 use MooseX::StrictConstructor;
61 extends 'Cfn::Value::TypedValue';
62
63 has FlowArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
64 }
65  
66 subtype 'Cfn::Resource::Properties::AWS::MediaLive::Input::InputVpcRequest',
67 as 'Cfn::Value';
68  
69 coerce 'Cfn::Resource::Properties::AWS::MediaLive::Input::InputVpcRequest',
70 from 'HashRef',
71 via {
72 if (my $f = Cfn::TypeLibrary::try_function($_)) {
73 return $f
74 } else {
75 return Cfn::Resource::Properties::Object::AWS::MediaLive::Input::InputVpcRequest->new( %$_ );
76 }
77 };
78  
79 package Cfn::Resource::Properties::Object::AWS::MediaLive::Input::InputVpcRequest {
80 use Moose;
81 use MooseX::StrictConstructor;
82 extends 'Cfn::Value::TypedValue';
83
84 has SecurityGroupIds => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
85 has SubnetIds => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
86 }
87 subtype 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Input::InputSourceRequest',
88 as 'Cfn::Value',
89 where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
90 message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
91  
92 coerce 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Input::InputSourceRequest',
93 from 'HashRef',
94 via {
95 if (my $f = Cfn::TypeLibrary::try_function($_)) {
96 return $f
97 } else {
98 die 'Only accepts functions';
99 }
100 },
101 from 'ArrayRef',
102 via {
103 Cfn::Value::Array->new(Value => [
104 map {
105 Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::MediaLive::Input::InputSourceRequest')->coerce($_)
106 } @$_
107 ]);
108 };
109  
110 subtype 'Cfn::Resource::Properties::AWS::MediaLive::Input::InputSourceRequest',
111 as 'Cfn::Value';
112  
113 coerce 'Cfn::Resource::Properties::AWS::MediaLive::Input::InputSourceRequest',
114 from 'HashRef',
115 via {
116 if (my $f = Cfn::TypeLibrary::try_function($_)) {
117 return $f
118 } else {
119 return Cfn::Resource::Properties::Object::AWS::MediaLive::Input::InputSourceRequest->new( %$_ );
120 }
121 };
122  
123 package Cfn::Resource::Properties::Object::AWS::MediaLive::Input::InputSourceRequest {
124 use Moose;
125 use MooseX::StrictConstructor;
126 extends 'Cfn::Value::TypedValue';
127
128 has PasswordParam => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
129 has Url => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
130 has Username => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
131 }
132 subtype 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Input::InputDeviceSettings',
133 as 'Cfn::Value',
134 where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
135 message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
136  
137 coerce 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Input::InputDeviceSettings',
138 from 'HashRef',
139 via {
140 if (my $f = Cfn::TypeLibrary::try_function($_)) {
141 return $f
142 } else {
143 die 'Only accepts functions';
144 }
145 },
146 from 'ArrayRef',
147 via {
148 Cfn::Value::Array->new(Value => [
149 map {
150 Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::MediaLive::Input::InputDeviceSettings')->coerce($_)
151 } @$_
152 ]);
153 };
154  
155 subtype 'Cfn::Resource::Properties::AWS::MediaLive::Input::InputDeviceSettings',
156 as 'Cfn::Value';
157  
158 coerce 'Cfn::Resource::Properties::AWS::MediaLive::Input::InputDeviceSettings',
159 from 'HashRef',
160 via {
161 if (my $f = Cfn::TypeLibrary::try_function($_)) {
162 return $f
163 } else {
164 return Cfn::Resource::Properties::Object::AWS::MediaLive::Input::InputDeviceSettings->new( %$_ );
165 }
166 };
167  
168 package Cfn::Resource::Properties::Object::AWS::MediaLive::Input::InputDeviceSettings {
169 use Moose;
170 use MooseX::StrictConstructor;
171 extends 'Cfn::Value::TypedValue';
172
173 has Id => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
174 }
175  
176 subtype 'Cfn::Resource::Properties::AWS::MediaLive::Input::InputDeviceRequest',
177 as 'Cfn::Value';
178  
179 coerce 'Cfn::Resource::Properties::AWS::MediaLive::Input::InputDeviceRequest',
180 from 'HashRef',
181 via {
182 if (my $f = Cfn::TypeLibrary::try_function($_)) {
183 return $f
184 } else {
185 return Cfn::Resource::Properties::Object::AWS::MediaLive::Input::InputDeviceRequest->new( %$_ );
186 }
187 };
188  
189 package Cfn::Resource::Properties::Object::AWS::MediaLive::Input::InputDeviceRequest {
190 use Moose;
191 use MooseX::StrictConstructor;
192 extends 'Cfn::Value::TypedValue';
193
194 has Id => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
195 }
196 subtype 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Input::InputDestinationRequest',
197 as 'Cfn::Value',
198 where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
199 message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
200  
201 coerce 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Input::InputDestinationRequest',
202 from 'HashRef',
203 via {
204 if (my $f = Cfn::TypeLibrary::try_function($_)) {
205 return $f
206 } else {
207 die 'Only accepts functions';
208 }
209 },
210 from 'ArrayRef',
211 via {
212 Cfn::Value::Array->new(Value => [
213 map {
214 Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::MediaLive::Input::InputDestinationRequest')->coerce($_)
215 } @$_
216 ]);
217 };
218  
219 subtype 'Cfn::Resource::Properties::AWS::MediaLive::Input::InputDestinationRequest',
220 as 'Cfn::Value';
221  
222 coerce 'Cfn::Resource::Properties::AWS::MediaLive::Input::InputDestinationRequest',
223 from 'HashRef',
224 via {
225 if (my $f = Cfn::TypeLibrary::try_function($_)) {
226 return $f
227 } else {
228 return Cfn::Resource::Properties::Object::AWS::MediaLive::Input::InputDestinationRequest->new( %$_ );
229 }
230 };
231  
232 package Cfn::Resource::Properties::Object::AWS::MediaLive::Input::InputDestinationRequest {
233 use Moose;
234 use MooseX::StrictConstructor;
235 extends 'Cfn::Value::TypedValue';
236
237 has StreamName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
238 }
239  
240 package Cfn::Resource::Properties::AWS::MediaLive::Input {
241 use Moose;
242 use MooseX::StrictConstructor;
243 extends 'Cfn::Resource::Properties';
244
245 has Destinations => (isa => 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Input::InputDestinationRequest', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
246 has InputDevices => (isa => 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Input::InputDeviceSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
247 has InputSecurityGroups => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
248 has MediaConnectFlows => (isa => 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Input::MediaConnectFlowRequest', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
249 has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
250 has RoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
251 has Sources => (isa => 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Input::InputSourceRequest', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
252 has Tags => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
253 has Type => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
254 has Vpc => (isa => 'Cfn::Resource::Properties::AWS::MediaLive::Input::InputVpcRequest', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
255 }
256  
257 1;
258 ### main pod documentation begin ###
259  
260 =encoding UTF-8
261  
262 =head1 NAME
263  
264 Cfn::Resource::AWS::MediaLive::Input - Cfn resource for AWS::MediaLive::Input
265  
266 =head1 DESCRIPTION
267  
268 This module implements a Perl module that represents the CloudFormation object AWS::MediaLive::Input.
269  
270 See L<Cfn> for more information on how to use it.
271  
272 =head1 AUTHOR
273  
274 Jose Luis Martinez
275 CAPSiDE
276 jlmartinez@capside.com
277  
278 =head1 COPYRIGHT and LICENSE
279  
280 Copyright (c) 2013 by CAPSiDE
281 This code is distributed under the Apache 2 License. The full text of the
282 license can be found in the LICENSE file included with this module.
283  
284 =cut