line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# AWS::MediaLive::Input generated from spec 4.1.0 |
2
|
1
|
|
|
1
|
|
665
|
use Moose::Util::TypeConstraints; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
10
|
|
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
|
1
|
|
|
1
|
|
2096
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
7
|
|
10
|
|
|
|
|
|
|
extends 'Cfn::Resource'; |
11
|
|
|
|
|
|
|
has Properties => (isa => 'Cfn::Resource::Properties::AWS::MediaLive::Input', is => 'rw', coerce => 1); |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub AttributeList { |
14
|
1
|
|
|
1
|
0
|
5
|
[ 'Arn','Destinations','Sources' ] |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
sub supported_regions { |
17
|
1
|
|
|
1
|
0
|
1072
|
[ '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::AWS::MediaLive::Input::MediaConnectFlowRequestValue->new( %$_ ); |
55
|
|
|
|
|
|
|
} |
56
|
|
|
|
|
|
|
}; |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::MediaLive::Input::MediaConnectFlowRequestValue { |
59
|
1
|
|
|
1
|
|
7138
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
6
|
|
60
|
1
|
|
|
1
|
|
6644
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
8
|
|
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::AWS::MediaLive::Input::InputVpcRequestValue->new( %$_ ); |
76
|
|
|
|
|
|
|
} |
77
|
|
|
|
|
|
|
}; |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::MediaLive::Input::InputVpcRequestValue { |
80
|
1
|
|
|
1
|
|
3423
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
5
|
|
81
|
1
|
|
|
1
|
|
6563
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
4
|
|
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::AWS::MediaLive::Input::InputSourceRequestValue->new( %$_ ); |
120
|
|
|
|
|
|
|
} |
121
|
|
|
|
|
|
|
}; |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::MediaLive::Input::InputSourceRequestValue { |
124
|
1
|
|
|
1
|
|
3599
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
6
|
|
125
|
1
|
|
|
1
|
|
6574
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
5
|
|
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::InputDestinationRequest', |
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::InputDestinationRequest', |
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::InputDestinationRequest')->coerce($_) |
151
|
|
|
|
|
|
|
} @$_ |
152
|
|
|
|
|
|
|
]); |
153
|
|
|
|
|
|
|
}; |
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::MediaLive::Input::InputDestinationRequest', |
156
|
|
|
|
|
|
|
as 'Cfn::Value'; |
157
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::MediaLive::Input::InputDestinationRequest', |
159
|
|
|
|
|
|
|
from 'HashRef', |
160
|
|
|
|
|
|
|
via { |
161
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
162
|
|
|
|
|
|
|
return $f |
163
|
|
|
|
|
|
|
} else { |
164
|
|
|
|
|
|
|
return Cfn::Resource::Properties::AWS::MediaLive::Input::InputDestinationRequestValue->new( %$_ ); |
165
|
|
|
|
|
|
|
} |
166
|
|
|
|
|
|
|
}; |
167
|
|
|
|
|
|
|
|
168
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::MediaLive::Input::InputDestinationRequestValue { |
169
|
1
|
|
|
1
|
|
3561
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
8
|
|
170
|
1
|
|
|
1
|
|
6546
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
5
|
|
171
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
172
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
has StreamName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
174
|
|
|
|
|
|
|
} |
175
|
|
|
|
|
|
|
|
176
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::MediaLive::Input { |
177
|
1
|
|
|
1
|
|
3194
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
178
|
1
|
|
|
1
|
|
6838
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
5
|
|
179
|
|
|
|
|
|
|
extends 'Cfn::Resource::Properties'; |
180
|
|
|
|
|
|
|
|
181
|
|
|
|
|
|
|
has Destinations => (isa => 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Input::InputDestinationRequest', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
182
|
|
|
|
|
|
|
has InputSecurityGroups => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
183
|
|
|
|
|
|
|
has MediaConnectFlows => (isa => 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Input::MediaConnectFlowRequest', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
184
|
|
|
|
|
|
|
has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
185
|
|
|
|
|
|
|
has RoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
186
|
|
|
|
|
|
|
has Sources => (isa => 'ArrayOfCfn::Resource::Properties::AWS::MediaLive::Input::InputSourceRequest', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
187
|
|
|
|
|
|
|
has Tags => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
188
|
|
|
|
|
|
|
has Type => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); |
189
|
|
|
|
|
|
|
has Vpc => (isa => 'Cfn::Resource::Properties::AWS::MediaLive::Input::InputVpcRequest', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); |
190
|
|
|
|
|
|
|
} |
191
|
|
|
|
|
|
|
|
192
|
|
|
|
|
|
|
1; |