| 1 | # AWS::MediaPackage::OriginEndpoint generated from spec 20.1.0 | ||||||||||
| 2 | 1 | ▶ | use Moose::Util::TypeConstraints; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | |||||||||||
| 4 | coerce 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint', | ||||||||||
| 5 | from 'HashRef', | ||||||||||
| 6 | 0 | ▶ | via { Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint->new( %$_ ) }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 7 | |||||||||||
| 8 | 1 | package Cfn::Resource::AWS::MediaPackage::OriginEndpoint { | |||||||||
| 9 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 10 | 1 | extends 'Cfn::Resource'; | |||||||||
| 11 | 1 | has Properties => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint', is => 'rw', coerce => 1); | |||||||||
| 12 | |||||||||||
| 13 | sub AttributeList { | ||||||||||
| 14 | 1 | ▶ | [ 'Arn','Url' ] | ||||||||
|
Subroutine
AttributeList: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 15 | } | ||||||||||
| 16 | sub supported_regions { | ||||||||||
| 17 | 1 | ▶ | [ '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' ] | ||||||||
|
Subroutine
supported_regions: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 18 | } | ||||||||||
| 19 | } | ||||||||||
| 20 | |||||||||||
| 21 | |||||||||||
| 22 | |||||||||||
| 23 | 1 | 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 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 30 | 0 | return $f | |||||||||
| 31 | } else { | ||||||||||
| 32 | 0 | return Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::SpekeKeyProvider->new( %$_ ); | |||||||||
| 33 | } | ||||||||||
| 34 | 1 | }; | |||||||||
| 35 | |||||||||||
| 36 | 1 | package Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::SpekeKeyProvider { | |||||||||
| 37 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 38 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 39 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 40 | |||||||||||
| 41 | 1 | has CertificateArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 42 | 1 | has ResourceId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 43 | 1 | has RoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 44 | 1 | has SystemIds => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 45 | 1 | has Url => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 46 | } | ||||||||||
| 47 | |||||||||||
| 48 | 1 | 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 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 55 | 0 | return $f | |||||||||
| 56 | } else { | ||||||||||
| 57 | 0 | return Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::StreamSelection->new( %$_ ); | |||||||||
| 58 | } | ||||||||||
| 59 | 1 | }; | |||||||||
| 60 | |||||||||||
| 61 | 1 | package Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::StreamSelection { | |||||||||
| 62 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 63 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 64 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 65 | |||||||||||
| 66 | 1 | has MaxVideoBitsPerSecond => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 67 | 1 | has MinVideoBitsPerSecond => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 68 | 1 | has StreamOrder => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 69 | } | ||||||||||
| 70 | |||||||||||
| 71 | 1 | 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 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 78 | 0 | return $f | |||||||||
| 79 | } else { | ||||||||||
| 80 | 0 | return Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::MssEncryption->new( %$_ ); | |||||||||
| 81 | } | ||||||||||
| 82 | 1 | }; | |||||||||
| 83 | |||||||||||
| 84 | 1 | package Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::MssEncryption { | |||||||||
| 85 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 86 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 87 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 88 | |||||||||||
| 89 | 1 | 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 | 0 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 94 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 95 | |||||||||||
| 96 | coerce 'ArrayOfCfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::HlsManifest', | ||||||||||
| 97 | from 'HashRef', | ||||||||||
| 98 | via { | ||||||||||
| 99 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 100 | 0 | return $f | |||||||||
| 101 | } else { | ||||||||||
| 102 | 0 | die 'Only accepts functions'; | |||||||||
| 103 | } | ||||||||||
| 104 | }, | ||||||||||
| 105 | from 'ArrayRef', | ||||||||||
| 106 | via { | ||||||||||
| 107 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 108 | map { | ||||||||||
| 109 | 0 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::HlsManifest')->coerce($_) | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 110 | } @$_ | ||||||||||
| 111 | ]); | ||||||||||
| 112 | 1 | }; | |||||||||
| 113 | |||||||||||
| 114 | 1 | 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 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 121 | 0 | return $f | |||||||||
| 122 | } else { | ||||||||||
| 123 | 0 | return Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::HlsManifest->new( %$_ ); | |||||||||
| 124 | } | ||||||||||
| 125 | 1 | }; | |||||||||
| 126 | |||||||||||
| 127 | 1 | package Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::HlsManifest { | |||||||||
| 128 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 129 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 130 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 131 | |||||||||||
| 132 | 1 | has AdMarkers => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 133 | 1 | has AdsOnDeliveryRestrictions => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 134 | 1 | has AdTriggers => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 135 | 1 | has Id => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 136 | 1 | has IncludeIframeOnlyStream => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 137 | 1 | has ManifestName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 138 | 1 | has PlaylistType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 139 | 1 | has PlaylistWindowSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 140 | 1 | has ProgramDateTimeIntervalSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 141 | 1 | has Url => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 142 | } | ||||||||||
| 143 | |||||||||||
| 144 | 1 | 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 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 151 | 0 | return $f | |||||||||
| 152 | } else { | ||||||||||
| 153 | 0 | return Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::HlsEncryption->new( %$_ ); | |||||||||
| 154 | } | ||||||||||
| 155 | 1 | }; | |||||||||
| 156 | |||||||||||
| 157 | 1 | package Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::HlsEncryption { | |||||||||
| 158 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 159 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 160 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 161 | |||||||||||
| 162 | 1 | has ConstantInitializationVector => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 163 | 1 | has EncryptionMethod => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 164 | 1 | has KeyRotationIntervalSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 165 | 1 | has RepeatExtXKey => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 166 | 1 | has SpekeKeyProvider => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::SpekeKeyProvider', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 167 | } | ||||||||||
| 168 | |||||||||||
| 169 | 1 | 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 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 176 | 0 | return $f | |||||||||
| 177 | } else { | ||||||||||
| 178 | 0 | return Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::DashEncryption->new( %$_ ); | |||||||||
| 179 | } | ||||||||||
| 180 | 1 | }; | |||||||||
| 181 | |||||||||||
| 182 | 1 | package Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::DashEncryption { | |||||||||
| 183 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 184 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 185 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 186 | |||||||||||
| 187 | 1 | has KeyRotationIntervalSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 188 | 1 | has SpekeKeyProvider => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::SpekeKeyProvider', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 189 | } | ||||||||||
| 190 | |||||||||||
| 191 | 1 | 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 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 198 | 0 | return $f | |||||||||
| 199 | } else { | ||||||||||
| 200 | 0 | return Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::CmafEncryption->new( %$_ ); | |||||||||
| 201 | } | ||||||||||
| 202 | 1 | }; | |||||||||
| 203 | |||||||||||
| 204 | 1 | package Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::CmafEncryption { | |||||||||
| 205 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 206 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 207 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 208 | |||||||||||
| 209 | 1 | has KeyRotationIntervalSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 210 | 1 | has SpekeKeyProvider => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::SpekeKeyProvider', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 211 | } | ||||||||||
| 212 | |||||||||||
| 213 | 1 | 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 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 220 | 0 | return $f | |||||||||
| 221 | } else { | ||||||||||
| 222 | 0 | return Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::MssPackage->new( %$_ ); | |||||||||
| 223 | } | ||||||||||
| 224 | 1 | }; | |||||||||
| 225 | |||||||||||
| 226 | 1 | package Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::MssPackage { | |||||||||
| 227 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 228 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 229 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 230 | |||||||||||
| 231 | 1 | has Encryption => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::MssEncryption', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 232 | 1 | has ManifestWindowSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 233 | 1 | has SegmentDurationSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 234 | 1 | has StreamSelection => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::StreamSelection', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 235 | } | ||||||||||
| 236 | |||||||||||
| 237 | 1 | 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 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 244 | 0 | return $f | |||||||||
| 245 | } else { | ||||||||||
| 246 | 0 | return Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::HlsPackage->new( %$_ ); | |||||||||
| 247 | } | ||||||||||
| 248 | 1 | }; | |||||||||
| 249 | |||||||||||
| 250 | 1 | package Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::HlsPackage { | |||||||||
| 251 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 252 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 253 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 254 | |||||||||||
| 255 | 1 | has AdMarkers => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 256 | 1 | has AdsOnDeliveryRestrictions => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 257 | 1 | has AdTriggers => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 258 | 1 | has Encryption => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::HlsEncryption', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 259 | 1 | has IncludeIframeOnlyStream => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 260 | 1 | has PlaylistType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 261 | 1 | has PlaylistWindowSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 262 | 1 | has ProgramDateTimeIntervalSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 263 | 1 | has SegmentDurationSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 264 | 1 | has StreamSelection => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::StreamSelection', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 265 | 1 | has UseAudioRenditionGroup => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 266 | } | ||||||||||
| 267 | |||||||||||
| 268 | 1 | 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 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 275 | 0 | return $f | |||||||||
| 276 | } else { | ||||||||||
| 277 | 0 | return Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::DashPackage->new( %$_ ); | |||||||||
| 278 | } | ||||||||||
| 279 | 1 | }; | |||||||||
| 280 | |||||||||||
| 281 | 1 | package Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::DashPackage { | |||||||||
| 282 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 283 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 284 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 285 | |||||||||||
| 286 | 1 | has AdsOnDeliveryRestrictions => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 287 | 1 | has AdTriggers => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 288 | 1 | has Encryption => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::DashEncryption', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 289 | 1 | has ManifestLayout => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 290 | 1 | has ManifestWindowSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 291 | 1 | has MinBufferTimeSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 292 | 1 | has MinUpdatePeriodSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 293 | 1 | has PeriodTriggers => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 294 | 1 | has Profile => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 295 | 1 | has SegmentDurationSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 296 | 1 | has SegmentTemplateFormat => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 297 | 1 | has StreamSelection => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::StreamSelection', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 298 | 1 | has SuggestedPresentationDelaySeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 299 | } | ||||||||||
| 300 | |||||||||||
| 301 | 1 | 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 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 308 | 0 | return $f | |||||||||
| 309 | } else { | ||||||||||
| 310 | 0 | return Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::CmafPackage->new( %$_ ); | |||||||||
| 311 | } | ||||||||||
| 312 | 1 | }; | |||||||||
| 313 | |||||||||||
| 314 | 1 | package Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::CmafPackage { | |||||||||
| 315 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 316 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 317 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 318 | |||||||||||
| 319 | 1 | has Encryption => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::CmafEncryption', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 320 | 1 | has HlsManifests => (isa => 'ArrayOfCfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::HlsManifest', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 321 | 1 | has SegmentDurationSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 322 | 1 | has SegmentPrefix => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 323 | 1 | has StreamSelection => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::StreamSelection', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 324 | } | ||||||||||
| 325 | |||||||||||
| 326 | 1 | 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 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 333 | 0 | return $f | |||||||||
| 334 | } else { | ||||||||||
| 335 | 0 | return Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::Authorization->new( %$_ ); | |||||||||
| 336 | } | ||||||||||
| 337 | 1 | }; | |||||||||
| 338 | |||||||||||
| 339 | 1 | package Cfn::Resource::Properties::Object::AWS::MediaPackage::OriginEndpoint::Authorization { | |||||||||
| 340 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 341 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 342 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 343 | |||||||||||
| 344 | 1 | has CdnIdentifierSecret => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 345 | 1 | has SecretsRoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 346 | } | ||||||||||
| 347 | |||||||||||
| 348 | 1 | package Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint { | |||||||||
| 349 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 350 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 351 | 1 | extends 'Cfn::Resource::Properties'; | |||||||||
| 352 | |||||||||||
| 353 | 1 | has Authorization => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::Authorization', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 354 | 1 | has ChannelId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 355 | 1 | has CmafPackage => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::CmafPackage', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 356 | 1 | has DashPackage => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::DashPackage', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 357 | 1 | has Description => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 358 | 1 | has HlsPackage => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::HlsPackage', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 359 | 1 | has Id => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 360 | 1 | has ManifestName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 361 | 1 | has MssPackage => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::OriginEndpoint::MssPackage', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 362 | 1 | has Origination => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 363 | 1 | has StartoverWindowSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 364 | 1 | has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 365 | 1 | has TimeDelaySeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 366 | 1 | has Whitelist => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 367 | } | ||||||||||
| 368 | |||||||||||
| 369 | 1 | 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 | ||||||||||