« Cfn/Resource/AWS/MediaPackage/OriginEndpoint.pm
↑ Summary
Cfn/Resource/AWS/MediaPackage/PackagingGroup.pm »
| 1 | # AWS::MediaPackage::PackagingConfiguration generated from spec 20.1.0 | ||
| 2 | use Moose::Util::TypeConstraints; | ||
| 3 | |||
| 4 | coerce 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration', | ||
| 5 | from 'HashRef', | ||
| 6 | via { Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration->new( %$_ ) }; | ||
| 7 | |||
| 8 | package Cfn::Resource::AWS::MediaPackage::PackagingConfiguration { | ||
| 9 | use Moose; | ||
| 10 | extends 'Cfn::Resource'; | ||
| 11 | has Properties => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration', is => 'rw', coerce => 1); | ||
| 12 | |||
| 13 | sub AttributeList { | ||
| 14 | [ 'Arn' ] | ||
| 15 | } | ||
| 16 | sub supported_regions { | ||
| 17 | [ 'ap-northeast-1','ap-northeast-2','ap-south-1','ap-southeast-1','ap-southeast-2','eu-central-1','eu-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::PackagingConfiguration::StreamSelection', | ||
| 24 | as 'Cfn::Value'; | ||
| 25 | |||
| 26 | coerce 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::StreamSelection', | ||
| 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::PackagingConfiguration::StreamSelection->new( %$_ ); | ||
| 33 | } | ||
| 34 | }; | ||
| 35 | |||
| 36 | package Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::StreamSelection { | ||
| 37 | use Moose; | ||
| 38 | use MooseX::StrictConstructor; | ||
| 39 | extends 'Cfn::Value::TypedValue'; | ||
| 40 | |||
| 41 | has MaxVideoBitsPerSecond => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 42 | has MinVideoBitsPerSecond => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 43 | has StreamOrder => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 44 | } | ||
| 45 | |||
| 46 | 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 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 53 | return $f | ||
| 54 | } else { | ||
| 55 | return Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::SpekeKeyProvider->new( %$_ ); | ||
| 56 | } | ||
| 57 | }; | ||
| 58 | |||
| 59 | package Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::SpekeKeyProvider { | ||
| 60 | use Moose; | ||
| 61 | use MooseX::StrictConstructor; | ||
| 62 | extends 'Cfn::Value::TypedValue'; | ||
| 63 | |||
| 64 | has RoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 65 | has SystemIds => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 66 | 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 | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||
| 71 | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||
| 72 | |||
| 73 | coerce 'ArrayOfCfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::MssManifest', | ||
| 74 | from 'HashRef', | ||
| 75 | via { | ||
| 76 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 77 | return $f | ||
| 78 | } else { | ||
| 79 | die 'Only accepts functions'; | ||
| 80 | } | ||
| 81 | }, | ||
| 82 | from 'ArrayRef', | ||
| 83 | via { | ||
| 84 | Cfn::Value::Array->new(Value => [ | ||
| 85 | map { | ||
| 86 | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::MssManifest')->coerce($_) | ||
| 87 | } @$_ | ||
| 88 | ]); | ||
| 89 | }; | ||
| 90 | |||
| 91 | 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 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 98 | return $f | ||
| 99 | } else { | ||
| 100 | return Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::MssManifest->new( %$_ ); | ||
| 101 | } | ||
| 102 | }; | ||
| 103 | |||
| 104 | package Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::MssManifest { | ||
| 105 | use Moose; | ||
| 106 | use MooseX::StrictConstructor; | ||
| 107 | extends 'Cfn::Value::TypedValue'; | ||
| 108 | |||
| 109 | has ManifestName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 110 | has StreamSelection => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::StreamSelection', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 111 | } | ||
| 112 | |||
| 113 | 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 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 120 | return $f | ||
| 121 | } else { | ||
| 122 | return Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::MssEncryption->new( %$_ ); | ||
| 123 | } | ||
| 124 | }; | ||
| 125 | |||
| 126 | package Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::MssEncryption { | ||
| 127 | use Moose; | ||
| 128 | use MooseX::StrictConstructor; | ||
| 129 | extends 'Cfn::Value::TypedValue'; | ||
| 130 | |||
| 131 | 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 | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||
| 136 | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||
| 137 | |||
| 138 | coerce 'ArrayOfCfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::HlsManifest', | ||
| 139 | from 'HashRef', | ||
| 140 | via { | ||
| 141 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 142 | return $f | ||
| 143 | } else { | ||
| 144 | die 'Only accepts functions'; | ||
| 145 | } | ||
| 146 | }, | ||
| 147 | from 'ArrayRef', | ||
| 148 | via { | ||
| 149 | Cfn::Value::Array->new(Value => [ | ||
| 150 | map { | ||
| 151 | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::HlsManifest')->coerce($_) | ||
| 152 | } @$_ | ||
| 153 | ]); | ||
| 154 | }; | ||
| 155 | |||
| 156 | 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 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 163 | return $f | ||
| 164 | } else { | ||
| 165 | return Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::HlsManifest->new( %$_ ); | ||
| 166 | } | ||
| 167 | }; | ||
| 168 | |||
| 169 | package Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::HlsManifest { | ||
| 170 | use Moose; | ||
| 171 | use MooseX::StrictConstructor; | ||
| 172 | extends 'Cfn::Value::TypedValue'; | ||
| 173 | |||
| 174 | has AdMarkers => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 175 | has IncludeIframeOnlyStream => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 176 | has ManifestName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 177 | has ProgramDateTimeIntervalSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 178 | has RepeatExtXKey => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 179 | has StreamSelection => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::StreamSelection', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 180 | } | ||
| 181 | |||
| 182 | 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 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 189 | return $f | ||
| 190 | } else { | ||
| 191 | return Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::HlsEncryption->new( %$_ ); | ||
| 192 | } | ||
| 193 | }; | ||
| 194 | |||
| 195 | package Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::HlsEncryption { | ||
| 196 | use Moose; | ||
| 197 | use MooseX::StrictConstructor; | ||
| 198 | extends 'Cfn::Value::TypedValue'; | ||
| 199 | |||
| 200 | has ConstantInitializationVector => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 201 | has EncryptionMethod => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 202 | 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 | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||
| 207 | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||
| 208 | |||
| 209 | coerce 'ArrayOfCfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::DashManifest', | ||
| 210 | from 'HashRef', | ||
| 211 | via { | ||
| 212 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 213 | return $f | ||
| 214 | } else { | ||
| 215 | die 'Only accepts functions'; | ||
| 216 | } | ||
| 217 | }, | ||
| 218 | from 'ArrayRef', | ||
| 219 | via { | ||
| 220 | Cfn::Value::Array->new(Value => [ | ||
| 221 | map { | ||
| 222 | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::DashManifest')->coerce($_) | ||
| 223 | } @$_ | ||
| 224 | ]); | ||
| 225 | }; | ||
| 226 | |||
| 227 | 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 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 234 | return $f | ||
| 235 | } else { | ||
| 236 | return Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::DashManifest->new( %$_ ); | ||
| 237 | } | ||
| 238 | }; | ||
| 239 | |||
| 240 | package Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::DashManifest { | ||
| 241 | use Moose; | ||
| 242 | use MooseX::StrictConstructor; | ||
| 243 | extends 'Cfn::Value::TypedValue'; | ||
| 244 | |||
| 245 | has ManifestLayout => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 246 | has ManifestName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 247 | has MinBufferTimeSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 248 | has Profile => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 249 | has StreamSelection => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::StreamSelection', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 250 | } | ||
| 251 | |||
| 252 | 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 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 259 | return $f | ||
| 260 | } else { | ||
| 261 | return Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::DashEncryption->new( %$_ ); | ||
| 262 | } | ||
| 263 | }; | ||
| 264 | |||
| 265 | package Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::DashEncryption { | ||
| 266 | use Moose; | ||
| 267 | use MooseX::StrictConstructor; | ||
| 268 | extends 'Cfn::Value::TypedValue'; | ||
| 269 | |||
| 270 | has SpekeKeyProvider => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::SpekeKeyProvider', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 271 | } | ||
| 272 | |||
| 273 | 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 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 280 | return $f | ||
| 281 | } else { | ||
| 282 | return Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::CmafEncryption->new( %$_ ); | ||
| 283 | } | ||
| 284 | }; | ||
| 285 | |||
| 286 | package Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::CmafEncryption { | ||
| 287 | use Moose; | ||
| 288 | use MooseX::StrictConstructor; | ||
| 289 | extends 'Cfn::Value::TypedValue'; | ||
| 290 | |||
| 291 | has SpekeKeyProvider => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::SpekeKeyProvider', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 292 | } | ||
| 293 | |||
| 294 | 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 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 301 | return $f | ||
| 302 | } else { | ||
| 303 | return Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::MssPackage->new( %$_ ); | ||
| 304 | } | ||
| 305 | }; | ||
| 306 | |||
| 307 | package Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::MssPackage { | ||
| 308 | use Moose; | ||
| 309 | use MooseX::StrictConstructor; | ||
| 310 | extends 'Cfn::Value::TypedValue'; | ||
| 311 | |||
| 312 | has Encryption => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::MssEncryption', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 313 | has MssManifests => (isa => 'ArrayOfCfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::MssManifest', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 314 | has SegmentDurationSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 315 | } | ||
| 316 | |||
| 317 | 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 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 324 | return $f | ||
| 325 | } else { | ||
| 326 | return Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::HlsPackage->new( %$_ ); | ||
| 327 | } | ||
| 328 | }; | ||
| 329 | |||
| 330 | package Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::HlsPackage { | ||
| 331 | use Moose; | ||
| 332 | use MooseX::StrictConstructor; | ||
| 333 | extends 'Cfn::Value::TypedValue'; | ||
| 334 | |||
| 335 | has Encryption => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::HlsEncryption', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 336 | has HlsManifests => (isa => 'ArrayOfCfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::HlsManifest', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 337 | has SegmentDurationSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 338 | has UseAudioRenditionGroup => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 339 | } | ||
| 340 | |||
| 341 | 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 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 348 | return $f | ||
| 349 | } else { | ||
| 350 | return Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::DashPackage->new( %$_ ); | ||
| 351 | } | ||
| 352 | }; | ||
| 353 | |||
| 354 | package Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::DashPackage { | ||
| 355 | use Moose; | ||
| 356 | use MooseX::StrictConstructor; | ||
| 357 | extends 'Cfn::Value::TypedValue'; | ||
| 358 | |||
| 359 | has DashManifests => (isa => 'ArrayOfCfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::DashManifest', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 360 | has Encryption => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::DashEncryption', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 361 | has PeriodTriggers => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 362 | has SegmentDurationSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 363 | has SegmentTemplateFormat => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 364 | } | ||
| 365 | |||
| 366 | 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 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 373 | return $f | ||
| 374 | } else { | ||
| 375 | return Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::CmafPackage->new( %$_ ); | ||
| 376 | } | ||
| 377 | }; | ||
| 378 | |||
| 379 | package Cfn::Resource::Properties::Object::AWS::MediaPackage::PackagingConfiguration::CmafPackage { | ||
| 380 | use Moose; | ||
| 381 | use MooseX::StrictConstructor; | ||
| 382 | extends 'Cfn::Value::TypedValue'; | ||
| 383 | |||
| 384 | has Encryption => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::CmafEncryption', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 385 | has HlsManifests => (isa => 'ArrayOfCfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::HlsManifest', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 386 | has SegmentDurationSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 387 | } | ||
| 388 | |||
| 389 | package Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration { | ||
| 390 | use Moose; | ||
| 391 | use MooseX::StrictConstructor; | ||
| 392 | extends 'Cfn::Resource::Properties'; | ||
| 393 | |||
| 394 | has CmafPackage => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::CmafPackage', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 395 | has DashPackage => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::DashPackage', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 396 | has HlsPackage => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::HlsPackage', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 397 | has Id => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 398 | has MssPackage => (isa => 'Cfn::Resource::Properties::AWS::MediaPackage::PackagingConfiguration::MssPackage', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 399 | has PackagingGroupId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 400 | has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 401 | } | ||
| 402 | |||
| 403 | 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 |