VaporShell.MediaTailor.Classes.ps1
using namespace System using namespace System.Collections using namespace System.Collections.Generic using namespace System.IO using namespace System.Management.Automation [CmdletBinding()] Param() Write-Verbose "Importing class 'MediaTailorPlaybackConfigurationCdnConfiguration'" class MediaTailorPlaybackConfigurationCdnConfiguration : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSMediaTailorPlaybackConfigurationCdnConfiguration' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediatailor-playbackconfiguration-cdnconfiguration.html' hidden [object] $_adSegmentUrlPrefix hidden [object] $_contentSegmentUrlPrefix [string] $AdSegmentUrlPrefix [string] $ContentSegmentUrlPrefix hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name AdSegmentUrlPrefix -Value { $this._adSegmentUrlPrefix } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._adSegmentUrlPrefix = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name ContentSegmentUrlPrefix -Value { $this._contentSegmentUrlPrefix } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._contentSegmentUrlPrefix = if ($value -is [int]) { $value.ToString() } else { $value } } } MediaTailorPlaybackConfigurationCdnConfiguration() : base() {} MediaTailorPlaybackConfigurationCdnConfiguration([IDictionary] $props) : base($props) {} MediaTailorPlaybackConfigurationCdnConfiguration([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'MediaTailorPlaybackConfigurationManifestProcessingRules'" class MediaTailorPlaybackConfigurationManifestProcessingRules : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSMediaTailorPlaybackConfigurationManifestProcessingRules' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediatailor-playbackconfiguration-manifestprocessingrules.html' hidden [object] $_adMarkerPassthrough [MediaTailorPlaybackConfigurationAdMarkerPassthrough] $AdMarkerPassthrough hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name AdMarkerPassthrough -Value { $this._adMarkerPassthrough } -SecondValue { param([ValidateType(([MediaTailorPlaybackConfigurationAdMarkerPassthrough], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._adMarkerPassthrough = $value } } MediaTailorPlaybackConfigurationManifestProcessingRules() : base() {} MediaTailorPlaybackConfigurationManifestProcessingRules([IDictionary] $props) : base($props) {} MediaTailorPlaybackConfigurationManifestProcessingRules([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'MediaTailorPlaybackConfigurationDashConfigurationForPut'" class MediaTailorPlaybackConfigurationDashConfigurationForPut : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSMediaTailorPlaybackConfigurationDashConfigurationForPut' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediatailor-playbackconfiguration-dashconfigurationforput.html' hidden [object] $_mpdLocation hidden [object] $_originManifestType [string] $MpdLocation [string] $OriginManifestType hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name MpdLocation -Value { $this._mpdLocation } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._mpdLocation = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name OriginManifestType -Value { $this._originManifestType } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._originManifestType = if ($value -is [int]) { $value.ToString() } else { $value } } } MediaTailorPlaybackConfigurationDashConfigurationForPut() : base() {} MediaTailorPlaybackConfigurationDashConfigurationForPut([IDictionary] $props) : base($props) {} MediaTailorPlaybackConfigurationDashConfigurationForPut([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'MediaTailorPlaybackConfigurationAdMarkerPassthrough'" class MediaTailorPlaybackConfigurationAdMarkerPassthrough : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSMediaTailorPlaybackConfigurationAdMarkerPassthrough' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediatailor-playbackconfiguration-admarkerpassthrough.html' hidden [object] $_enabled [bool] $Enabled hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name Enabled -Value { $this._enabled } -SecondValue { param([ValidateType(([bool], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._enabled = $value } } MediaTailorPlaybackConfigurationAdMarkerPassthrough() : base() {} MediaTailorPlaybackConfigurationAdMarkerPassthrough([IDictionary] $props) : base($props) {} MediaTailorPlaybackConfigurationAdMarkerPassthrough([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'MediaTailorPlaybackConfigurationAvailSuppression'" class MediaTailorPlaybackConfigurationAvailSuppression : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSMediaTailorPlaybackConfigurationAvailSuppression' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediatailor-playbackconfiguration-availsuppression.html' hidden [object] $_mode hidden [object] $_value [string] $Mode [string] $Value hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name Mode -Value { $this._mode } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._mode = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Value -Value { $this._value } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._value = if ($value -is [int]) { $value.ToString() } else { $value } } } MediaTailorPlaybackConfigurationAvailSuppression() : base() {} MediaTailorPlaybackConfigurationAvailSuppression([IDictionary] $props) : base($props) {} MediaTailorPlaybackConfigurationAvailSuppression([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'MediaTailorPlaybackConfigurationBumper'" class MediaTailorPlaybackConfigurationBumper : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSMediaTailorPlaybackConfigurationBumper' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediatailor-playbackconfiguration-bumper.html' hidden [object] $_startUrl hidden [object] $_endUrl [string] $StartUrl [string] $EndUrl hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name StartUrl -Value { $this._startUrl } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._startUrl = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name EndUrl -Value { $this._endUrl } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._endUrl = if ($value -is [int]) { $value.ToString() } else { $value } } } MediaTailorPlaybackConfigurationBumper() : base() {} MediaTailorPlaybackConfigurationBumper([IDictionary] $props) : base($props) {} MediaTailorPlaybackConfigurationBumper([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'MediaTailorPlaybackConfigurationLivePreRollConfiguration'" class MediaTailorPlaybackConfigurationLivePreRollConfiguration : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSMediaTailorPlaybackConfigurationLivePreRollConfiguration' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediatailor-playbackconfiguration-liveprerollconfiguration.html' hidden [object] $_adDecisionServerUrl hidden [object] $_maxDurationSeconds [string] $AdDecisionServerUrl [int] $MaxDurationSeconds hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name AdDecisionServerUrl -Value { $this._adDecisionServerUrl } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._adDecisionServerUrl = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name MaxDurationSeconds -Value { $this._maxDurationSeconds } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._maxDurationSeconds = if ($cast = $value -as [int]) { $cast } else { $value } } } MediaTailorPlaybackConfigurationLivePreRollConfiguration() : base() {} MediaTailorPlaybackConfigurationLivePreRollConfiguration([IDictionary] $props) : base($props) {} MediaTailorPlaybackConfigurationLivePreRollConfiguration([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'MediaTailorPlaybackConfiguration'" class MediaTailorPlaybackConfiguration : VSResource { hidden [string] $_vsFunctionName = 'New-VSMediaTailorPlaybackConfiguration' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediatailor-playbackconfiguration.html' hidden [object] $_condition [string] $Type = 'AWS::MediaTailor::PlaybackConfiguration' [string] $AdDecisionServerUrl [MediaTailorPlaybackConfigurationAvailSuppression] $AvailSuppression [MediaTailorPlaybackConfigurationBumper] $Bumper [MediaTailorPlaybackConfigurationCdnConfiguration] $CdnConfiguration [VSJson] $ConfigurationAliases [MediaTailorPlaybackConfigurationDashConfigurationForPut] $DashConfiguration [MediaTailorPlaybackConfigurationLivePreRollConfiguration] $LivePreRollConfiguration [MediaTailorPlaybackConfigurationManifestProcessingRules] $ManifestProcessingRules [string] $Name [int] $PersonalizationThresholdSeconds [string] $SessionInitializationEndpointPrefix [string] $SlateAdUrl [VSTag[]] $Tags [string] $TranscodeProfileName [string] $VideoContentSourceUrl [VSJson] $Metadata [UpdatePolicy] $UpdatePolicy [string] $Condition hidden [void] _addAccessors() { $this._addBaseAccessors() $this | Add-Member -Force -MemberType ScriptProperty -Name AdDecisionServerUrl -Value { $this.Properties['AdDecisionServerUrl'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['AdDecisionServerUrl'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name AvailSuppression -Value { $this.Properties['AvailSuppression'] } -SecondValue { param([ValidateType(([MediaTailorPlaybackConfigurationAvailSuppression], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['AvailSuppression'] = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name Bumper -Value { $this.Properties['Bumper'] } -SecondValue { param([ValidateType(([MediaTailorPlaybackConfigurationBumper], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['Bumper'] = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name CdnConfiguration -Value { $this.Properties['CdnConfiguration'] } -SecondValue { param([ValidateType(([MediaTailorPlaybackConfigurationCdnConfiguration], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['CdnConfiguration'] = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name ConfigurationAliases -Value { $this.Properties['ConfigurationAliases'] } -SecondValue { param([ValidateType(([VSJson], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['ConfigurationAliases'] = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name DashConfiguration -Value { $this.Properties['DashConfiguration'] } -SecondValue { param([ValidateType(([MediaTailorPlaybackConfigurationDashConfigurationForPut], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['DashConfiguration'] = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name LivePreRollConfiguration -Value { $this.Properties['LivePreRollConfiguration'] } -SecondValue { param([ValidateType(([MediaTailorPlaybackConfigurationLivePreRollConfiguration], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['LivePreRollConfiguration'] = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name ManifestProcessingRules -Value { $this.Properties['ManifestProcessingRules'] } -SecondValue { param([ValidateType(([MediaTailorPlaybackConfigurationManifestProcessingRules], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['ManifestProcessingRules'] = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name Name -Value { $this.Properties['Name'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['Name'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name PersonalizationThresholdSeconds -Value { $this.Properties['PersonalizationThresholdSeconds'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['PersonalizationThresholdSeconds'] = if ($cast = $value -as [int]) { $cast } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name SessionInitializationEndpointPrefix -Value { $this.Properties['SessionInitializationEndpointPrefix'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['SessionInitializationEndpointPrefix'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name SlateAdUrl -Value { $this.Properties['SlateAdUrl'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['SlateAdUrl'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Tags -Value { $this.Properties['Tags'] } -SecondValue { param([TransformTag()] [ValidateType(([IDictionary], [psobject], [VSTag]))] [object] $value) $this.Properties['Tags'] = [VSTag]::TransformTag($value) } $this | Add-Member -Force -MemberType ScriptProperty -Name TranscodeProfileName -Value { $this.Properties['TranscodeProfileName'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['TranscodeProfileName'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name VideoContentSourceUrl -Value { $this.Properties['VideoContentSourceUrl'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['VideoContentSourceUrl'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Condition -Value { $this._condition } -SecondValue { param( [ValidateType(([string], [IntrinsicFunction], [ConditionFunction]))] [object] $value ) $this._condition = $value } } MediaTailorPlaybackConfiguration() : base() {} MediaTailorPlaybackConfiguration([IDictionary] $props) : base($props) {} MediaTailorPlaybackConfiguration([psobject] $props) : base($props) {} } |