| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
# AWS::MediaPackage::OriginEndpoint generated from spec 20.1.0 |
|
2
|
1
|
|
|
1
|
|
790
|
use Moose::Util::TypeConstraints; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
12
|
|
|
3
|
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint', |
|
5
|
|
|
|
|
|
|
from 'HashRef', |
|
6
|
|
|
|
|
|
|
via { Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint->new( %$_ ) }; |
|
7
|
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
package Cfn::Resource::AWS::MediaPackage::OriginEndpoint { |
|
9
|
1
|
|
|
1
|
|
2240
|
use Moose; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
8
|
|
|
10
|
|
|
|
|
|
|
extends 'Cfn::Resource'; |
|
11
|
|
|
|
|
|
|
has Properties => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint', is => 'rw', coerce => 1); |
|
12
|
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub AttributeList { |
|
14
|
1
|
|
|
1
|
0
|
6
|
[ 'Arn','Url' ] |
|
15
|
|
|
|
|
|
|
} |
|
16
|
|
|
|
|
|
|
sub supported_regions { |
|
17
|
1
|
|
|
1
|
0
|
1142
|
[ 'ap-northeast-1','ap-northeast-2','ap-south-1','ap-southeast-1','ap-southeast-2','eu-central-1','eu-north-1','eu-west-1','eu-west-2','eu-west-3','sa-east-1','us-east-1','us-west-1','us-west-2' ] |
|
18
|
|
|
|
|
|
|
} |
|
19
|
|
|
|
|
|
|
} |
|
20
|
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::SpekeKeyProvider', |
|
24
|
|
|
|
|
|
|
as 'Cfn::Value'; |
|
25
|
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::SpekeKeyProvider', |
|
27
|
|
|
|
|
|
|
from 'HashRef', |
|
28
|
|
|
|
|
|
|
via { |
|
29
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
|
30
|
|
|
|
|
|
|
return $f |
|
31
|
|
|
|
|
|
|
} else { |
|
32
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::SpekeKeyProvider->new( %$_ ); |
|
33
|
|
|
|
|
|
|
} |
|
34
|
|
|
|
|
|
|
}; |
|
35
|
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::SpekeKeyProvider { |
|
37
|
1
|
|
|
1
|
|
7197
|
use Moose; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
19
|
|
|
38
|
1
|
|
|
1
|
|
6574
|
use MooseX::StrictConstructor; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
9
|
|
|
39
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
|
40
|
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
has CertificateArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
42
|
|
|
|
|
|
|
has ResourceId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
43
|
|
|
|
|
|
|
has RoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
44
|
|
|
|
|
|
|
has SystemIds => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
45
|
|
|
|
|
|
|
has Url => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
46
|
|
|
|
|
|
|
} |
|
47
|
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::StreamSelection', |
|
49
|
|
|
|
|
|
|
as 'Cfn::Value'; |
|
50
|
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::StreamSelection', |
|
52
|
|
|
|
|
|
|
from 'HashRef', |
|
53
|
|
|
|
|
|
|
via { |
|
54
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
|
55
|
|
|
|
|
|
|
return $f |
|
56
|
|
|
|
|
|
|
} else { |
|
57
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::StreamSelection->new( %$_ ); |
|
58
|
|
|
|
|
|
|
} |
|
59
|
|
|
|
|
|
|
}; |
|
60
|
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::StreamSelection { |
|
62
|
1
|
|
|
1
|
|
3701
|
use Moose; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
5
|
|
|
63
|
1
|
|
|
1
|
|
6650
|
use MooseX::StrictConstructor; |
|
|
1
|
|
|
|
|
4
|
|
|
|
1
|
|
|
|
|
5
|
|
|
64
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
|
65
|
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
has MaxVideoBitsPerSecond => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
67
|
|
|
|
|
|
|
has MinVideoBitsPerSecond => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
68
|
|
|
|
|
|
|
has StreamOrder => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
69
|
|
|
|
|
|
|
} |
|
70
|
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::MssEncryption', |
|
72
|
|
|
|
|
|
|
as 'Cfn::Value'; |
|
73
|
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::MssEncryption', |
|
75
|
|
|
|
|
|
|
from 'HashRef', |
|
76
|
|
|
|
|
|
|
via { |
|
77
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
|
78
|
|
|
|
|
|
|
return $f |
|
79
|
|
|
|
|
|
|
} else { |
|
80
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::MssEncryption->new( %$_ ); |
|
81
|
|
|
|
|
|
|
} |
|
82
|
|
|
|
|
|
|
}; |
|
83
|
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::MssEncryption { |
|
85
|
1
|
|
|
1
|
|
3382
|
use Moose; |
|
|
1
|
|
|
|
|
4
|
|
|
|
1
|
|
|
|
|
7
|
|
|
86
|
1
|
|
|
1
|
|
6547
|
use MooseX::StrictConstructor; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
6
|
|
|
87
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
|
88
|
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
has SpekeKeyProvider => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::SpekeKeyProvider', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
90
|
|
|
|
|
|
|
} |
|
91
|
|
|
|
|
|
|
subtype 'ArrayOfCfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::HlsManifest', |
|
92
|
|
|
|
|
|
|
as 'Cfn::Value', |
|
93
|
|
|
|
|
|
|
where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, |
|
94
|
|
|
|
|
|
|
message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; |
|
95
|
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
coerce 'ArrayOfCfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::HlsManifest', |
|
97
|
|
|
|
|
|
|
from 'HashRef', |
|
98
|
|
|
|
|
|
|
via { |
|
99
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
|
100
|
|
|
|
|
|
|
return $f |
|
101
|
|
|
|
|
|
|
} else { |
|
102
|
|
|
|
|
|
|
die 'Only accepts functions'; |
|
103
|
|
|
|
|
|
|
} |
|
104
|
|
|
|
|
|
|
}, |
|
105
|
|
|
|
|
|
|
from 'ArrayRef', |
|
106
|
|
|
|
|
|
|
via { |
|
107
|
|
|
|
|
|
|
Cfn::Value::Array->new(Value => [ |
|
108
|
|
|
|
|
|
|
map { |
|
109
|
|
|
|
|
|
|
Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::HlsManifest')->coerce($_) |
|
110
|
|
|
|
|
|
|
} @$_ |
|
111
|
|
|
|
|
|
|
]); |
|
112
|
|
|
|
|
|
|
}; |
|
113
|
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::HlsManifest', |
|
115
|
|
|
|
|
|
|
as 'Cfn::Value'; |
|
116
|
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::HlsManifest', |
|
118
|
|
|
|
|
|
|
from 'HashRef', |
|
119
|
|
|
|
|
|
|
via { |
|
120
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
|
121
|
|
|
|
|
|
|
return $f |
|
122
|
|
|
|
|
|
|
} else { |
|
123
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::HlsManifest->new( %$_ ); |
|
124
|
|
|
|
|
|
|
} |
|
125
|
|
|
|
|
|
|
}; |
|
126
|
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::HlsManifest { |
|
128
|
1
|
|
|
1
|
|
3625
|
use Moose; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
5
|
|
|
129
|
1
|
|
|
1
|
|
6646
|
use MooseX::StrictConstructor; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
5
|
|
|
130
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
|
131
|
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
has AdMarkers => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
133
|
|
|
|
|
|
|
has AdsOnDeliveryRestrictions => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
134
|
|
|
|
|
|
|
has AdTriggers => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
135
|
|
|
|
|
|
|
has Id => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
136
|
|
|
|
|
|
|
has IncludeIframeOnlyStream => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
137
|
|
|
|
|
|
|
has ManifestName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
138
|
|
|
|
|
|
|
has PlaylistType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
139
|
|
|
|
|
|
|
has PlaylistWindowSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
140
|
|
|
|
|
|
|
has ProgramDateTimeIntervalSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
141
|
|
|
|
|
|
|
has Url => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
142
|
|
|
|
|
|
|
} |
|
143
|
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::HlsEncryption', |
|
145
|
|
|
|
|
|
|
as 'Cfn::Value'; |
|
146
|
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::HlsEncryption', |
|
148
|
|
|
|
|
|
|
from 'HashRef', |
|
149
|
|
|
|
|
|
|
via { |
|
150
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
|
151
|
|
|
|
|
|
|
return $f |
|
152
|
|
|
|
|
|
|
} else { |
|
153
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::HlsEncryption->new( %$_ ); |
|
154
|
|
|
|
|
|
|
} |
|
155
|
|
|
|
|
|
|
}; |
|
156
|
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::HlsEncryption { |
|
158
|
1
|
|
|
1
|
|
3532
|
use Moose; |
|
|
1
|
|
|
|
|
4
|
|
|
|
1
|
|
|
|
|
6
|
|
|
159
|
1
|
|
|
1
|
|
6599
|
use MooseX::StrictConstructor; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
6
|
|
|
160
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
|
161
|
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
has ConstantInitializationVector => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
163
|
|
|
|
|
|
|
has EncryptionMethod => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
164
|
|
|
|
|
|
|
has KeyRotationIntervalSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
165
|
|
|
|
|
|
|
has RepeatExtXKey => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
166
|
|
|
|
|
|
|
has SpekeKeyProvider => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::SpekeKeyProvider', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
167
|
|
|
|
|
|
|
} |
|
168
|
|
|
|
|
|
|
|
|
169
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::DashEncryption', |
|
170
|
|
|
|
|
|
|
as 'Cfn::Value'; |
|
171
|
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::DashEncryption', |
|
173
|
|
|
|
|
|
|
from 'HashRef', |
|
174
|
|
|
|
|
|
|
via { |
|
175
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
|
176
|
|
|
|
|
|
|
return $f |
|
177
|
|
|
|
|
|
|
} else { |
|
178
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::DashEncryption->new( %$_ ); |
|
179
|
|
|
|
|
|
|
} |
|
180
|
|
|
|
|
|
|
}; |
|
181
|
|
|
|
|
|
|
|
|
182
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::DashEncryption { |
|
183
|
1
|
|
|
1
|
|
3764
|
use Moose; |
|
|
1
|
|
|
|
|
4
|
|
|
|
1
|
|
|
|
|
8
|
|
|
184
|
1
|
|
|
1
|
|
6586
|
use MooseX::StrictConstructor; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
6
|
|
|
185
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
|
186
|
|
|
|
|
|
|
|
|
187
|
|
|
|
|
|
|
has KeyRotationIntervalSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
188
|
|
|
|
|
|
|
has SpekeKeyProvider => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::SpekeKeyProvider', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
189
|
|
|
|
|
|
|
} |
|
190
|
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::CmafEncryption', |
|
192
|
|
|
|
|
|
|
as 'Cfn::Value'; |
|
193
|
|
|
|
|
|
|
|
|
194
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::CmafEncryption', |
|
195
|
|
|
|
|
|
|
from 'HashRef', |
|
196
|
|
|
|
|
|
|
via { |
|
197
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
|
198
|
|
|
|
|
|
|
return $f |
|
199
|
|
|
|
|
|
|
} else { |
|
200
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::CmafEncryption->new( %$_ ); |
|
201
|
|
|
|
|
|
|
} |
|
202
|
|
|
|
|
|
|
}; |
|
203
|
|
|
|
|
|
|
|
|
204
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::CmafEncryption { |
|
205
|
1
|
|
|
1
|
|
3444
|
use Moose; |
|
|
1
|
|
|
|
|
4
|
|
|
|
1
|
|
|
|
|
6
|
|
|
206
|
1
|
|
|
1
|
|
6676
|
use MooseX::StrictConstructor; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
6
|
|
|
207
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
|
208
|
|
|
|
|
|
|
|
|
209
|
|
|
|
|
|
|
has KeyRotationIntervalSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
210
|
|
|
|
|
|
|
has SpekeKeyProvider => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::SpekeKeyProvider', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
211
|
|
|
|
|
|
|
} |
|
212
|
|
|
|
|
|
|
|
|
213
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::MssPackage', |
|
214
|
|
|
|
|
|
|
as 'Cfn::Value'; |
|
215
|
|
|
|
|
|
|
|
|
216
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::MssPackage', |
|
217
|
|
|
|
|
|
|
from 'HashRef', |
|
218
|
|
|
|
|
|
|
via { |
|
219
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
|
220
|
|
|
|
|
|
|
return $f |
|
221
|
|
|
|
|
|
|
} else { |
|
222
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::MssPackage->new( %$_ ); |
|
223
|
|
|
|
|
|
|
} |
|
224
|
|
|
|
|
|
|
}; |
|
225
|
|
|
|
|
|
|
|
|
226
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::MssPackage { |
|
227
|
1
|
|
|
1
|
|
3433
|
use Moose; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
8
|
|
|
228
|
1
|
|
|
1
|
|
7048
|
use MooseX::StrictConstructor; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
7
|
|
|
229
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
|
230
|
|
|
|
|
|
|
|
|
231
|
|
|
|
|
|
|
has Encryption => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::MssEncryption', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
232
|
|
|
|
|
|
|
has ManifestWindowSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
233
|
|
|
|
|
|
|
has SegmentDurationSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
234
|
|
|
|
|
|
|
has StreamSelection => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::StreamSelection', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
235
|
|
|
|
|
|
|
} |
|
236
|
|
|
|
|
|
|
|
|
237
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::HlsPackage', |
|
238
|
|
|
|
|
|
|
as 'Cfn::Value'; |
|
239
|
|
|
|
|
|
|
|
|
240
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::HlsPackage', |
|
241
|
|
|
|
|
|
|
from 'HashRef', |
|
242
|
|
|
|
|
|
|
via { |
|
243
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
|
244
|
|
|
|
|
|
|
return $f |
|
245
|
|
|
|
|
|
|
} else { |
|
246
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::HlsPackage->new( %$_ ); |
|
247
|
|
|
|
|
|
|
} |
|
248
|
|
|
|
|
|
|
}; |
|
249
|
|
|
|
|
|
|
|
|
250
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::HlsPackage { |
|
251
|
1
|
|
|
1
|
|
3569
|
use Moose; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
9
|
|
|
252
|
1
|
|
|
1
|
|
6724
|
use MooseX::StrictConstructor; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
5
|
|
|
253
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
|
254
|
|
|
|
|
|
|
|
|
255
|
|
|
|
|
|
|
has AdMarkers => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
256
|
|
|
|
|
|
|
has AdsOnDeliveryRestrictions => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
257
|
|
|
|
|
|
|
has AdTriggers => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
258
|
|
|
|
|
|
|
has Encryption => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::HlsEncryption', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
259
|
|
|
|
|
|
|
has IncludeIframeOnlyStream => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
260
|
|
|
|
|
|
|
has PlaylistType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
261
|
|
|
|
|
|
|
has PlaylistWindowSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
262
|
|
|
|
|
|
|
has ProgramDateTimeIntervalSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
263
|
|
|
|
|
|
|
has SegmentDurationSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
264
|
|
|
|
|
|
|
has StreamSelection => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::StreamSelection', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
265
|
|
|
|
|
|
|
has UseAudioRenditionGroup => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
266
|
|
|
|
|
|
|
} |
|
267
|
|
|
|
|
|
|
|
|
268
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::DashPackage', |
|
269
|
|
|
|
|
|
|
as 'Cfn::Value'; |
|
270
|
|
|
|
|
|
|
|
|
271
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::DashPackage', |
|
272
|
|
|
|
|
|
|
from 'HashRef', |
|
273
|
|
|
|
|
|
|
via { |
|
274
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
|
275
|
|
|
|
|
|
|
return $f |
|
276
|
|
|
|
|
|
|
} else { |
|
277
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::DashPackage->new( %$_ ); |
|
278
|
|
|
|
|
|
|
} |
|
279
|
|
|
|
|
|
|
}; |
|
280
|
|
|
|
|
|
|
|
|
281
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::DashPackage { |
|
282
|
1
|
|
|
1
|
|
3569
|
use Moose; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
6
|
|
|
283
|
1
|
|
|
1
|
|
6617
|
use MooseX::StrictConstructor; |
|
|
1
|
|
|
|
|
4
|
|
|
|
1
|
|
|
|
|
6
|
|
|
284
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
|
285
|
|
|
|
|
|
|
|
|
286
|
|
|
|
|
|
|
has AdsOnDeliveryRestrictions => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
287
|
|
|
|
|
|
|
has AdTriggers => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
288
|
|
|
|
|
|
|
has Encryption => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::DashEncryption', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
289
|
|
|
|
|
|
|
has ManifestLayout => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
290
|
|
|
|
|
|
|
has ManifestWindowSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
291
|
|
|
|
|
|
|
has MinBufferTimeSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
292
|
|
|
|
|
|
|
has MinUpdatePeriodSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
293
|
|
|
|
|
|
|
has PeriodTriggers => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
294
|
|
|
|
|
|
|
has Profile => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
295
|
|
|
|
|
|
|
has SegmentDurationSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
296
|
|
|
|
|
|
|
has SegmentTemplateFormat => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
297
|
|
|
|
|
|
|
has StreamSelection => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::StreamSelection', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
298
|
|
|
|
|
|
|
has SuggestedPresentationDelaySeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
299
|
|
|
|
|
|
|
} |
|
300
|
|
|
|
|
|
|
|
|
301
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::CmafPackage', |
|
302
|
|
|
|
|
|
|
as 'Cfn::Value'; |
|
303
|
|
|
|
|
|
|
|
|
304
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::CmafPackage', |
|
305
|
|
|
|
|
|
|
from 'HashRef', |
|
306
|
|
|
|
|
|
|
via { |
|
307
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
|
308
|
|
|
|
|
|
|
return $f |
|
309
|
|
|
|
|
|
|
} else { |
|
310
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::CmafPackage->new( %$_ ); |
|
311
|
|
|
|
|
|
|
} |
|
312
|
|
|
|
|
|
|
}; |
|
313
|
|
|
|
|
|
|
|
|
314
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::CmafPackage { |
|
315
|
1
|
|
|
1
|
|
3586
|
use Moose; |
|
|
1
|
|
|
|
|
11
|
|
|
|
1
|
|
|
|
|
7
|
|
|
316
|
1
|
|
|
1
|
|
6612
|
use MooseX::StrictConstructor; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
5
|
|
|
317
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
|
318
|
|
|
|
|
|
|
|
|
319
|
|
|
|
|
|
|
has Encryption => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::CmafEncryption', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
320
|
|
|
|
|
|
|
has HlsManifests => (isa => 'ArrayOfCfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::HlsManifest', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
321
|
|
|
|
|
|
|
has SegmentDurationSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
322
|
|
|
|
|
|
|
has SegmentPrefix => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
323
|
|
|
|
|
|
|
has StreamSelection => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::StreamSelection', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
324
|
|
|
|
|
|
|
} |
|
325
|
|
|
|
|
|
|
|
|
326
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::Authorization', |
|
327
|
|
|
|
|
|
|
as 'Cfn::Value'; |
|
328
|
|
|
|
|
|
|
|
|
329
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::Authorization', |
|
330
|
|
|
|
|
|
|
from 'HashRef', |
|
331
|
|
|
|
|
|
|
via { |
|
332
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
|
333
|
|
|
|
|
|
|
return $f |
|
334
|
|
|
|
|
|
|
} else { |
|
335
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::Authorization->new( %$_ ); |
|
336
|
|
|
|
|
|
|
} |
|
337
|
|
|
|
|
|
|
}; |
|
338
|
|
|
|
|
|
|
|
|
339
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::Authorization { |
|
340
|
1
|
|
|
1
|
|
3457
|
use Moose; |
|
|
1
|
|
|
|
|
4
|
|
|
|
1
|
|
|
|
|
6
|
|
|
341
|
1
|
|
|
1
|
|
6574
|
use MooseX::StrictConstructor; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
5
|
|
|
342
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
|
343
|
|
|
|
|
|
|
|
|
344
|
|
|
|
|
|
|
has CdnIdentifierSecret => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
345
|
|
|
|
|
|
|
has SecretsRoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
346
|
|
|
|
|
|
|
} |
|
347
|
|
|
|
|
|
|
|
|
348
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint { |
|
349
|
1
|
|
|
1
|
|
3304
|
use Moose; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
6
|
|
|
350
|
1
|
|
|
1
|
|
6578
|
use MooseX::StrictConstructor; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
5
|
|
|
351
|
|
|
|
|
|
|
extends 'Cfn::Resource::Properties'; |
|
352
|
|
|
|
|
|
|
|
|
353
|
|
|
|
|
|
|
has Authorization => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::Authorization', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
354
|
|
|
|
|
|
|
has ChannelId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
355
|
|
|
|
|
|
|
has CmafPackage => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::CmafPackage', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
356
|
|
|
|
|
|
|
has DashPackage => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::DashPackage', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
357
|
|
|
|
|
|
|
has Description => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
358
|
|
|
|
|
|
|
has HlsPackage => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::HlsPackage', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
359
|
|
|
|
|
|
|
has Id => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
360
|
|
|
|
|
|
|
has ManifestName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
361
|
|
|
|
|
|
|
has MssPackage => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::MssPackage', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
362
|
|
|
|
|
|
|
has Origination => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
363
|
|
|
|
|
|
|
has StartoverWindowSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
364
|
|
|
|
|
|
|
has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
365
|
|
|
|
|
|
|
has TimeDelaySeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
366
|
|
|
|
|
|
|
has Whitelist => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
|
367
|
|
|
|
|
|
|
} |
|
368
|
|
|
|
|
|
|
|
|
369
|
|
|
|
|
|
|
1; |
|
370
|
|
|
|
|
|
|
### main pod documentation begin ### |
|
371
|
|
|
|
|
|
|
|
|
372
|
|
|
|
|
|
|
=encoding UTF-8 |
|
373
|
|
|
|
|
|
|
|
|
374
|
|
|
|
|
|
|
=head1 NAME |
|
375
|
|
|
|
|
|
|
|
|
376
|
|
|
|
|
|
|
Cfn::Resource::AWS::MediaPackage::OriginEndpoint - Cfn resource for AWS::MediaPackage::OriginEndpoint |
|
377
|
|
|
|
|
|
|
|
|
378
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
379
|
|
|
|
|
|
|
|
|
380
|
|
|
|
|
|
|
This module implements a Perl module that represents the CloudFormation object AWS::MediaPackage::OriginEndpoint. |
|
381
|
|
|
|
|
|
|
|
|
382
|
|
|
|
|
|
|
See L<Cfn> for more information on how to use it. |
|
383
|
|
|
|
|
|
|
|
|
384
|
|
|
|
|
|
|
=head1 AUTHOR |
|
385
|
|
|
|
|
|
|
|
|
386
|
|
|
|
|
|
|
Jose Luis Martinez |
|
387
|
|
|
|
|
|
|
CAPSiDE |
|
388
|
|
|
|
|
|
|
jlmartinez@capside.com |
|
389
|
|
|
|
|
|
|
|
|
390
|
|
|
|
|
|
|
=head1 COPYRIGHT and LICENSE |
|
391
|
|
|
|
|
|
|
|
|
392
|
|
|
|
|
|
|
Copyright (c) 2013 by CAPSiDE |
|
393
|
|
|
|
|
|
|
This code is distributed under the Apache 2 License. The full text of the |
|
394
|
|
|
|
|
|
|
license can be found in the LICENSE file included with this module. |
|
395
|
|
|
|
|
|
|
|
|
396
|
|
|
|
|
|
|
=cut |