| 1 | # AWS::MediaPackage::PackagingConfiguration 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::PackagingConfiguration', | ||||||||||
| 5 | from 'HashRef', | ||||||||||
| 6 | 0 | ▶ | via { Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration->new( %$_ ) }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 7 | |||||||||||
| 8 | 1 | package Cfn::Resource::AWS::MediaPackage::PackagingConfiguration { | |||||||||
| 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::PackagingConfiguration', is => 'rw', coerce => 1); | |||||||||
| 12 | |||||||||||
| 13 | sub AttributeList { | ||||||||||
| 14 | 1 | ▶ | [ 'Arn' ] | ||||||||
|
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::PackagingConfiguration::StreamSelection', | |||||||||
| 24 | as 'Cfn::Value'; | ||||||||||
| 25 | |||||||||||
| 26 | coerce 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::StreamSelection', | ||||||||||
| 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::PackagingConfiguration::StreamSelection->new( %$_ ); | |||||||||
| 33 | } | ||||||||||
| 34 | 1 | }; | |||||||||
| 35 | |||||||||||
| 36 | 1 | package Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::StreamSelection { | |||||||||
| 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 MaxVideoBitsPerSecond => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 42 | 1 | has MinVideoBitsPerSecond => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 43 | 1 | has StreamOrder => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 44 | } | ||||||||||
| 45 | |||||||||||
| 46 | 1 | subtype 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::SpekeKeyProvider', | |||||||||
| 47 | as 'Cfn::Value'; | ||||||||||
| 48 | |||||||||||
| 49 | coerce 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::SpekeKeyProvider', | ||||||||||
| 50 | from 'HashRef', | ||||||||||
| 51 | via { | ||||||||||
| 52 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 53 | 0 | return $f | |||||||||
| 54 | } else { | ||||||||||
| 55 | 0 | return Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::SpekeKeyProvider->new( %$_ ); | |||||||||
| 56 | } | ||||||||||
| 57 | 1 | }; | |||||||||
| 58 | |||||||||||
| 59 | 1 | package Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::SpekeKeyProvider { | |||||||||
| 60 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 61 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 62 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 63 | |||||||||||
| 64 | 1 | has RoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 65 | 1 | has SystemIds => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 66 | 1 | has Url => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 67 | } | ||||||||||
| 68 | subtype 'ArrayOfCfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::MssManifest', | ||||||||||
| 69 | as 'Cfn::Value', | ||||||||||
| 70 | 0 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 71 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 72 | |||||||||||
| 73 | coerce 'ArrayOfCfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::MssManifest', | ||||||||||
| 74 | from 'HashRef', | ||||||||||
| 75 | via { | ||||||||||
| 76 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 77 | 0 | return $f | |||||||||
| 78 | } else { | ||||||||||
| 79 | 0 | die 'Only accepts functions'; | |||||||||
| 80 | } | ||||||||||
| 81 | }, | ||||||||||
| 82 | from 'ArrayRef', | ||||||||||
| 83 | via { | ||||||||||
| 84 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 85 | map { | ||||||||||
| 86 | 0 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::MssManifest')->coerce($_) | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 87 | } @$_ | ||||||||||
| 88 | ]); | ||||||||||
| 89 | 1 | }; | |||||||||
| 90 | |||||||||||
| 91 | 1 | subtype 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::MssManifest', | |||||||||
| 92 | as 'Cfn::Value'; | ||||||||||
| 93 | |||||||||||
| 94 | coerce 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::MssManifest', | ||||||||||
| 95 | from 'HashRef', | ||||||||||
| 96 | via { | ||||||||||
| 97 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 98 | 0 | return $f | |||||||||
| 99 | } else { | ||||||||||
| 100 | 0 | return Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::MssManifest->new( %$_ ); | |||||||||
| 101 | } | ||||||||||
| 102 | 1 | }; | |||||||||
| 103 | |||||||||||
| 104 | 1 | package Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::MssManifest { | |||||||||
| 105 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 106 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 107 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 108 | |||||||||||
| 109 | 1 | has ManifestName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 110 | 1 | has StreamSelection => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::StreamSelection', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 111 | } | ||||||||||
| 112 | |||||||||||
| 113 | 1 | subtype 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::MssEncryption', | |||||||||
| 114 | as 'Cfn::Value'; | ||||||||||
| 115 | |||||||||||
| 116 | coerce 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::MssEncryption', | ||||||||||
| 117 | from 'HashRef', | ||||||||||
| 118 | via { | ||||||||||
| 119 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 120 | 0 | return $f | |||||||||
| 121 | } else { | ||||||||||
| 122 | 0 | return Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::MssEncryption->new( %$_ ); | |||||||||
| 123 | } | ||||||||||
| 124 | 1 | }; | |||||||||
| 125 | |||||||||||
| 126 | 1 | package Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::MssEncryption { | |||||||||
| 127 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 128 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 129 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 130 | |||||||||||
| 131 | 1 | has SpekeKeyProvider => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::SpekeKeyProvider', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 132 | } | ||||||||||
| 133 | subtype 'ArrayOfCfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::HlsManifest', | ||||||||||
| 134 | as 'Cfn::Value', | ||||||||||
| 135 | 0 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 136 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 137 | |||||||||||
| 138 | coerce 'ArrayOfCfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::HlsManifest', | ||||||||||
| 139 | from 'HashRef', | ||||||||||
| 140 | via { | ||||||||||
| 141 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 142 | 0 | return $f | |||||||||
| 143 | } else { | ||||||||||
| 144 | 0 | die 'Only accepts functions'; | |||||||||
| 145 | } | ||||||||||
| 146 | }, | ||||||||||
| 147 | from 'ArrayRef', | ||||||||||
| 148 | via { | ||||||||||
| 149 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 150 | map { | ||||||||||
| 151 | 0 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::HlsManifest')->coerce($_) | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 152 | } @$_ | ||||||||||
| 153 | ]); | ||||||||||
| 154 | 1 | }; | |||||||||
| 155 | |||||||||||
| 156 | 1 | subtype 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::HlsManifest', | |||||||||
| 157 | as 'Cfn::Value'; | ||||||||||
| 158 | |||||||||||
| 159 | coerce 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::HlsManifest', | ||||||||||
| 160 | from 'HashRef', | ||||||||||
| 161 | via { | ||||||||||
| 162 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 163 | 0 | return $f | |||||||||
| 164 | } else { | ||||||||||
| 165 | 0 | return Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::HlsManifest->new( %$_ ); | |||||||||
| 166 | } | ||||||||||
| 167 | 1 | }; | |||||||||
| 168 | |||||||||||
| 169 | 1 | package Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::HlsManifest { | |||||||||
| 170 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 171 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 172 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 173 | |||||||||||
| 174 | 1 | has AdMarkers => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 175 | 1 | has IncludeIframeOnlyStream => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 176 | 1 | has ManifestName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 177 | 1 | has ProgramDateTimeIntervalSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 178 | 1 | has RepeatExtXKey => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 179 | 1 | has StreamSelection => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::StreamSelection', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 180 | } | ||||||||||
| 181 | |||||||||||
| 182 | 1 | subtype 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::HlsEncryption', | |||||||||
| 183 | as 'Cfn::Value'; | ||||||||||
| 184 | |||||||||||
| 185 | coerce 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::HlsEncryption', | ||||||||||
| 186 | from 'HashRef', | ||||||||||
| 187 | via { | ||||||||||
| 188 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 189 | 0 | return $f | |||||||||
| 190 | } else { | ||||||||||
| 191 | 0 | return Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::HlsEncryption->new( %$_ ); | |||||||||
| 192 | } | ||||||||||
| 193 | 1 | }; | |||||||||
| 194 | |||||||||||
| 195 | 1 | package Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::HlsEncryption { | |||||||||
| 196 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 197 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 198 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 199 | |||||||||||
| 200 | 1 | has ConstantInitializationVector => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 201 | 1 | has EncryptionMethod => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 202 | 1 | has SpekeKeyProvider => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::SpekeKeyProvider', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 203 | } | ||||||||||
| 204 | subtype 'ArrayOfCfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::DashManifest', | ||||||||||
| 205 | as 'Cfn::Value', | ||||||||||
| 206 | 0 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 207 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 208 | |||||||||||
| 209 | coerce 'ArrayOfCfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::DashManifest', | ||||||||||
| 210 | from 'HashRef', | ||||||||||
| 211 | via { | ||||||||||
| 212 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 213 | 0 | return $f | |||||||||
| 214 | } else { | ||||||||||
| 215 | 0 | die 'Only accepts functions'; | |||||||||
| 216 | } | ||||||||||
| 217 | }, | ||||||||||
| 218 | from 'ArrayRef', | ||||||||||
| 219 | via { | ||||||||||
| 220 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 221 | map { | ||||||||||
| 222 | 0 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::DashManifest')->coerce($_) | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 223 | } @$_ | ||||||||||
| 224 | ]); | ||||||||||
| 225 | 1 | }; | |||||||||
| 226 | |||||||||||
| 227 | 1 | subtype 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::DashManifest', | |||||||||
| 228 | as 'Cfn::Value'; | ||||||||||
| 229 | |||||||||||
| 230 | coerce 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::DashManifest', | ||||||||||
| 231 | from 'HashRef', | ||||||||||
| 232 | via { | ||||||||||
| 233 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 234 | 0 | return $f | |||||||||
| 235 | } else { | ||||||||||
| 236 | 0 | return Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::DashManifest->new( %$_ ); | |||||||||
| 237 | } | ||||||||||
| 238 | 1 | }; | |||||||||
| 239 | |||||||||||
| 240 | 1 | package Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::DashManifest { | |||||||||
| 241 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 242 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 243 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 244 | |||||||||||
| 245 | 1 | has ManifestLayout => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 246 | 1 | has ManifestName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 247 | 1 | has MinBufferTimeSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 248 | 1 | has Profile => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 249 | 1 | has StreamSelection => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::StreamSelection', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 250 | } | ||||||||||
| 251 | |||||||||||
| 252 | 1 | subtype 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::DashEncryption', | |||||||||
| 253 | as 'Cfn::Value'; | ||||||||||
| 254 | |||||||||||
| 255 | coerce 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::DashEncryption', | ||||||||||
| 256 | from 'HashRef', | ||||||||||
| 257 | via { | ||||||||||
| 258 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 259 | 0 | return $f | |||||||||
| 260 | } else { | ||||||||||
| 261 | 0 | return Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::DashEncryption->new( %$_ ); | |||||||||
| 262 | } | ||||||||||
| 263 | 1 | }; | |||||||||
| 264 | |||||||||||
| 265 | 1 | package Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::DashEncryption { | |||||||||
| 266 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 267 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 268 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 269 | |||||||||||
| 270 | 1 | has SpekeKeyProvider => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::SpekeKeyProvider', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 271 | } | ||||||||||
| 272 | |||||||||||
| 273 | 1 | subtype 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::CmafEncryption', | |||||||||
| 274 | as 'Cfn::Value'; | ||||||||||
| 275 | |||||||||||
| 276 | coerce 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::CmafEncryption', | ||||||||||
| 277 | from 'HashRef', | ||||||||||
| 278 | via { | ||||||||||
| 279 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 280 | 0 | return $f | |||||||||
| 281 | } else { | ||||||||||
| 282 | 0 | return Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::CmafEncryption->new( %$_ ); | |||||||||
| 283 | } | ||||||||||
| 284 | 1 | }; | |||||||||
| 285 | |||||||||||
| 286 | 1 | package Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::CmafEncryption { | |||||||||
| 287 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 288 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 289 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 290 | |||||||||||
| 291 | 1 | has SpekeKeyProvider => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::SpekeKeyProvider', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 292 | } | ||||||||||
| 293 | |||||||||||
| 294 | 1 | subtype 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::MssPackage', | |||||||||
| 295 | as 'Cfn::Value'; | ||||||||||
| 296 | |||||||||||
| 297 | coerce 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::MssPackage', | ||||||||||
| 298 | from 'HashRef', | ||||||||||
| 299 | via { | ||||||||||
| 300 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 301 | 0 | return $f | |||||||||
| 302 | } else { | ||||||||||
| 303 | 0 | return Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::MssPackage->new( %$_ ); | |||||||||
| 304 | } | ||||||||||
| 305 | 1 | }; | |||||||||
| 306 | |||||||||||
| 307 | 1 | package Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::MssPackage { | |||||||||
| 308 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 309 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 310 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 311 | |||||||||||
| 312 | 1 | has Encryption => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::MssEncryption', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 313 | 1 | has MssManifests => (isa => 'ArrayOfCfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::MssManifest', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 314 | 1 | has SegmentDurationSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 315 | } | ||||||||||
| 316 | |||||||||||
| 317 | 1 | subtype 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::HlsPackage', | |||||||||
| 318 | as 'Cfn::Value'; | ||||||||||
| 319 | |||||||||||
| 320 | coerce 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::HlsPackage', | ||||||||||
| 321 | from 'HashRef', | ||||||||||
| 322 | via { | ||||||||||
| 323 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 324 | 0 | return $f | |||||||||
| 325 | } else { | ||||||||||
| 326 | 0 | return Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::HlsPackage->new( %$_ ); | |||||||||
| 327 | } | ||||||||||
| 328 | 1 | }; | |||||||||
| 329 | |||||||||||
| 330 | 1 | package Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::HlsPackage { | |||||||||
| 331 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 332 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 333 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 334 | |||||||||||
| 335 | 1 | has Encryption => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::HlsEncryption', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 336 | 1 | has HlsManifests => (isa => 'ArrayOfCfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::HlsManifest', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 337 | 1 | has SegmentDurationSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 338 | 1 | has UseAudioRenditionGroup => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 339 | } | ||||||||||
| 340 | |||||||||||
| 341 | 1 | subtype 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::DashPackage', | |||||||||
| 342 | as 'Cfn::Value'; | ||||||||||
| 343 | |||||||||||
| 344 | coerce 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::DashPackage', | ||||||||||
| 345 | from 'HashRef', | ||||||||||
| 346 | via { | ||||||||||
| 347 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 348 | 0 | return $f | |||||||||
| 349 | } else { | ||||||||||
| 350 | 0 | return Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::DashPackage->new( %$_ ); | |||||||||
| 351 | } | ||||||||||
| 352 | 1 | }; | |||||||||
| 353 | |||||||||||
| 354 | 1 | package Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::DashPackage { | |||||||||
| 355 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 356 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 357 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 358 | |||||||||||
| 359 | 1 | has DashManifests => (isa => 'ArrayOfCfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::DashManifest', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 360 | 1 | has Encryption => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::DashEncryption', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 361 | 1 | has PeriodTriggers => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 362 | 1 | has SegmentDurationSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 363 | 1 | has SegmentTemplateFormat => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 364 | } | ||||||||||
| 365 | |||||||||||
| 366 | 1 | subtype 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::CmafPackage', | |||||||||
| 367 | as 'Cfn::Value'; | ||||||||||
| 368 | |||||||||||
| 369 | coerce 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::CmafPackage', | ||||||||||
| 370 | from 'HashRef', | ||||||||||
| 371 | via { | ||||||||||
| 372 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 373 | 0 | return $f | |||||||||
| 374 | } else { | ||||||||||
| 375 | 0 | return Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::CmafPackage->new( %$_ ); | |||||||||
| 376 | } | ||||||||||
| 377 | 1 | }; | |||||||||
| 378 | |||||||||||
| 379 | 1 | package Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::CmafPackage { | |||||||||
| 380 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 381 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 382 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 383 | |||||||||||
| 384 | 1 | has Encryption => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::CmafEncryption', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 385 | 1 | has HlsManifests => (isa => 'ArrayOfCfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::HlsManifest', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 386 | 1 | has SegmentDurationSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 387 | } | ||||||||||
| 388 | |||||||||||
| 389 | 1 | package Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration { | |||||||||
| 390 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 391 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 392 | 1 | extends 'Cfn::Resource::Properties'; | |||||||||
| 393 | |||||||||||
| 394 | 1 | has CmafPackage => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::CmafPackage', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 395 | 1 | has DashPackage => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::DashPackage', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 396 | 1 | has HlsPackage => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::HlsPackage', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 397 | 1 | has Id => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 398 | 1 | has MssPackage => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::MssPackage', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 399 | 1 | has PackagingGroupId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 400 | 1 | has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 401 | } | ||||||||||
| 402 | |||||||||||
| 403 | 1 | 1; | |||||||||
| 404 | ### main pod documentation begin ### | ||||||||||
| 405 | |||||||||||
| 406 | =encoding UTF-8 | ||||||||||
| 407 | |||||||||||
| 408 | =head1 NAME | ||||||||||
| 409 | |||||||||||
| 410 | Cfn::Resource::AWS::MediaPackage::PackagingConfiguration - Cfn resource for AWS::MediaPackage::PackagingConfiguration | ||||||||||
| 411 | |||||||||||
| 412 | =head1 DESCRIPTION | ||||||||||
| 413 | |||||||||||
| 414 | This module implements a Perl module that represents the CloudFormation object AWS::MediaPackage::PackagingConfiguration. | ||||||||||
| 415 | |||||||||||
| 416 | See L<Cfn> for more information on how to use it. | ||||||||||
| 417 | |||||||||||
| 418 | =head1 AUTHOR | ||||||||||
| 419 | |||||||||||
| 420 | Jose Luis Martinez | ||||||||||
| 421 | CAPSiDE | ||||||||||
| 422 | jlmartinez@capside.com | ||||||||||
| 423 | |||||||||||
| 424 | =head1 COPYRIGHT and LICENSE | ||||||||||
| 425 | |||||||||||
| 426 | Copyright (c) 2013 by CAPSiDE | ||||||||||
| 427 | This code is distributed under the Apache 2 License. The full text of the | ||||||||||
| 428 | license can be found in the LICENSE file included with this module. | ||||||||||
| 429 | |||||||||||
| 430 | =cut | ||||||||||