VaporShell.IVS.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 'IVSRecordingConfigurationDestinationConfiguration'"

class IVSRecordingConfigurationDestinationConfiguration : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSIVSRecordingConfigurationDestinationConfiguration'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivs-recordingconfiguration-destinationconfiguration.html'

    hidden [object] $_s3

    [IVSRecordingConfigurationS3DestinationConfiguration] $S3

    hidden [void] _addAccessors() {
        $this | Add-Member -Force -MemberType ScriptProperty -Name S3 -Value {
            $this._s3
        } -SecondValue {
            param([ValidateType(([IVSRecordingConfigurationS3DestinationConfiguration], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._s3 = $value
        }
    }

    IVSRecordingConfigurationDestinationConfiguration() : base() {}
    IVSRecordingConfigurationDestinationConfiguration([IDictionary] $props) : base($props) {}
    IVSRecordingConfigurationDestinationConfiguration([psobject] $props) : base($props) {}
}

Write-Verbose "Importing class 'IVSRecordingConfigurationS3DestinationConfiguration'"

class IVSRecordingConfigurationS3DestinationConfiguration : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSIVSRecordingConfigurationS3DestinationConfiguration'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivs-recordingconfiguration-s3destinationconfiguration.html'

    hidden [object] $_bucketName

    [string] $BucketName

    hidden [void] _addAccessors() {
        $this | Add-Member -Force -MemberType ScriptProperty -Name BucketName -Value {
            $this._bucketName
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._bucketName = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
    }

    IVSRecordingConfigurationS3DestinationConfiguration() : base() {}
    IVSRecordingConfigurationS3DestinationConfiguration([IDictionary] $props) : base($props) {}
    IVSRecordingConfigurationS3DestinationConfiguration([psobject] $props) : base($props) {}
}

Write-Verbose "Importing class 'IVSChannel'"

class IVSChannel : VSResource {
    hidden [string] $_vsFunctionName = 'New-VSIVSChannel'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-channel.html'

    hidden [string[]] $_attributes = @('Arn','PlaybackUrl','IngestEndpoint')
    hidden [object] $_condition

    [string] $Type = 'AWS::IVS::Channel'
    [string] $Name
    [bool] $Authorized
    [string] $LatencyMode
    [string] $ChannelType
    [VSTag[]] $Tags
    [string] $RecordingConfigurationArn
    [VSJson] $Metadata
    [UpdatePolicy] $UpdatePolicy
    [string] $Condition

    hidden [void] _addAccessors() {
        $this._addBaseAccessors()
        $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 Authorized -Value {
            $this.Properties['Authorized']
        } -SecondValue {
            param([ValidateType(([bool], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['Authorized'] = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name LatencyMode -Value {
            $this.Properties['LatencyMode']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['LatencyMode'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name ChannelType -Value {
            $this.Properties['ChannelType']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['ChannelType'] = 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 RecordingConfigurationArn -Value {
            $this.Properties['RecordingConfigurationArn']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['RecordingConfigurationArn'] = 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
        }
    }

    IVSChannel() : base() {}
    IVSChannel([IDictionary] $props) : base($props) {}
    IVSChannel([psobject] $props) : base($props) {}
}

Write-Verbose "Importing class 'IVSPlaybackKeyPair'"

class IVSPlaybackKeyPair : VSResource {
    hidden [string] $_vsFunctionName = 'New-VSIVSPlaybackKeyPair'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-playbackkeypair.html'

    hidden [string[]] $_attributes = @('Fingerprint','Arn')
    hidden [object] $_condition

    [string] $Type = 'AWS::IVS::PlaybackKeyPair'
    [string] $Name
    [string] $PublicKeyMaterial
    [VSTag[]] $Tags
    [VSJson] $Metadata
    [UpdatePolicy] $UpdatePolicy
    [string] $Condition

    hidden [void] _addAccessors() {
        $this._addBaseAccessors()
        $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 PublicKeyMaterial -Value {
            $this.Properties['PublicKeyMaterial']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['PublicKeyMaterial'] = 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 Condition -Value {
            $this._condition
        } -SecondValue {
            param(
                [ValidateType(([string], [IntrinsicFunction], [ConditionFunction]))] [object]
                $value
            )
            $this._condition = $value
        }
    }

    IVSPlaybackKeyPair() : base() {}
    IVSPlaybackKeyPair([IDictionary] $props) : base($props) {}
    IVSPlaybackKeyPair([psobject] $props) : base($props) {}
}

Write-Verbose "Importing class 'IVSRecordingConfiguration'"

class IVSRecordingConfiguration : VSResource {
    hidden [string] $_vsFunctionName = 'New-VSIVSRecordingConfiguration'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-recordingconfiguration.html'

    hidden [string[]] $_attributes = @('Arn','State')
    hidden [object] $_condition

    [string] $Type = 'AWS::IVS::RecordingConfiguration'
    [string] $Name
    [IVSRecordingConfigurationDestinationConfiguration] $DestinationConfiguration
    [VSTag[]] $Tags
    [VSJson] $Metadata
    [UpdatePolicy] $UpdatePolicy
    [string] $Condition

    hidden [void] _addAccessors() {
        $this._addBaseAccessors()
        $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 DestinationConfiguration -Value {
            $this.Properties['DestinationConfiguration']
        } -SecondValue {
            param([ValidateType(([IVSRecordingConfigurationDestinationConfiguration], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['DestinationConfiguration'] = $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 Condition -Value {
            $this._condition
        } -SecondValue {
            param(
                [ValidateType(([string], [IntrinsicFunction], [ConditionFunction]))] [object]
                $value
            )
            $this._condition = $value
        }
    }

    IVSRecordingConfiguration() : base() {}
    IVSRecordingConfiguration([IDictionary] $props) : base($props) {}
    IVSRecordingConfiguration([psobject] $props) : base($props) {}
}

Write-Verbose "Importing class 'IVSStreamKey'"

class IVSStreamKey : VSResource {
    hidden [string] $_vsFunctionName = 'New-VSIVSStreamKey'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-streamkey.html'

    hidden [string[]] $_attributes = @('Arn','Value')
    hidden [object] $_condition

    [string] $Type = 'AWS::IVS::StreamKey'
    [string] $ChannelArn
    [VSTag[]] $Tags
    [VSJson] $Metadata
    [UpdatePolicy] $UpdatePolicy
    [string] $Condition

    hidden [void] _addAccessors() {
        $this._addBaseAccessors()
        $this | Add-Member -Force -MemberType ScriptProperty -Name ChannelArn -Value {
            $this.Properties['ChannelArn']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['ChannelArn'] = 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 Condition -Value {
            $this._condition
        } -SecondValue {
            param(
                [ValidateType(([string], [IntrinsicFunction], [ConditionFunction]))] [object]
                $value
            )
            $this._condition = $value
        }
    }

    IVSStreamKey() : base() {}
    IVSStreamKey([IDictionary] $props) : base($props) {}
    IVSStreamKey([psobject] $props) : base($props) {}
}