VaporShell.GroundStation.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 'GroundStationMissionProfileDataflowEdge'"

class GroundStationMissionProfileDataflowEdge : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSGroundStationMissionProfileDataflowEdge'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-missionprofile-dataflowedge.html'

    hidden [object] $_source
    hidden [object] $_destination

    [string] $Source
    [string] $Destination

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

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

Write-Verbose "Importing class 'GroundStationDataflowEndpointGroupDataflowEndpoint'"

class GroundStationDataflowEndpointGroupDataflowEndpoint : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSGroundStationDataflowEndpointGroupDataflowEndpoint'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-dataflowendpointgroup-dataflowendpoint.html'

    hidden [object] $_name
    hidden [object] $_address
    hidden [object] $_status
    hidden [object] $_mtu

    [string] $Name
    [GroundStationDataflowEndpointGroupSocketAddress] $Address
    [string] $Status
    [int] $Mtu

    hidden [void] _addAccessors() {
        $this | Add-Member -Force -MemberType ScriptProperty -Name Name -Value {
            $this._name
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._name = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Address -Value {
            $this._address
        } -SecondValue {
            param([ValidateType(([GroundStationDataflowEndpointGroupSocketAddress], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._address = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Status -Value {
            $this._status
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._status = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Mtu -Value {
            $this._mtu
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._mtu = if ($cast = $value -as [int]) {
                $cast
            }
            else {
                $value
            }
        }
    }

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

Write-Verbose "Importing class 'GroundStationDataflowEndpointGroupSecurityDetails'"

class GroundStationDataflowEndpointGroupSecurityDetails : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSGroundStationDataflowEndpointGroupSecurityDetails'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-dataflowendpointgroup-securitydetails.html'

    hidden [object] $_subnetIds
    hidden [object] $_securityGroupIds
    hidden [object] $_roleArn

    [string[]] $SubnetIds
    [string[]] $SecurityGroupIds
    [string] $RoleArn

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

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

Write-Verbose "Importing class 'GroundStationDataflowEndpointGroupSocketAddress'"

class GroundStationDataflowEndpointGroupSocketAddress : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSGroundStationDataflowEndpointGroupSocketAddress'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-dataflowendpointgroup-socketaddress.html'

    hidden [object] $_name
    hidden [object] $_port

    [string] $Name
    [int] $Port

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

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

Write-Verbose "Importing class 'GroundStationDataflowEndpointGroupEndpointDetails'"

class GroundStationDataflowEndpointGroupEndpointDetails : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSGroundStationDataflowEndpointGroupEndpointDetails'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-dataflowendpointgroup-endpointdetails.html'

    hidden [object] $_securityDetails
    hidden [object] $_endpoint

    [GroundStationDataflowEndpointGroupSecurityDetails] $SecurityDetails
    [GroundStationDataflowEndpointGroupDataflowEndpoint] $Endpoint

    hidden [void] _addAccessors() {
        $this | Add-Member -Force -MemberType ScriptProperty -Name SecurityDetails -Value {
            $this._securityDetails
        } -SecondValue {
            param([ValidateType(([GroundStationDataflowEndpointGroupSecurityDetails], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._securityDetails = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Endpoint -Value {
            $this._endpoint
        } -SecondValue {
            param([ValidateType(([GroundStationDataflowEndpointGroupDataflowEndpoint], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._endpoint = $value
        }
    }

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

Write-Verbose "Importing class 'GroundStationConfig'"

class GroundStationConfig : VSResource {
    hidden [string] $_vsFunctionName = 'New-VSGroundStationConfig'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-groundstation-config.html'

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

    [string] $Type = 'AWS::GroundStation::Config'
    [string] $Name
    [VSTag[]] $Tags
    [VSJson] $ConfigData
    [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 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 ConfigData -Value {
            $this.Properties['ConfigData']
        } -SecondValue {
            param([ValidateType(([string], [VSJson], [VSYaml], [psobject], [IDictionary]))][object] $value)
            $this.Properties['ConfigData'] = if ($value -is [VSJson]) {
                $value
            }
            else {
                [VSJson]::new($value)
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Condition -Value {
            $this._condition
        } -SecondValue {
            param(
                [ValidateType(([string], [IntrinsicFunction], [ConditionFunction]))] [object]
                $value
            )
            $this._condition = $value
        }
    }

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

Write-Verbose "Importing class 'GroundStationDataflowEndpointGroup'"

class GroundStationDataflowEndpointGroup : VSResource {
    hidden [string] $_vsFunctionName = 'New-VSGroundStationDataflowEndpointGroup'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-groundstation-dataflowendpointgroup.html'

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

    [string] $Type = 'AWS::GroundStation::DataflowEndpointGroup'
    [GroundStationDataflowEndpointGroupEndpointDetails[]] $EndpointDetails
    [VSTag[]] $Tags
    [VSJson] $Metadata
    [UpdatePolicy] $UpdatePolicy
    [string] $Condition

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

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

Write-Verbose "Importing class 'GroundStationMissionProfile'"

class GroundStationMissionProfile : VSResource {
    hidden [string] $_vsFunctionName = 'New-VSGroundStationMissionProfile'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-groundstation-missionprofile.html'

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

    [string] $Type = 'AWS::GroundStation::MissionProfile'
    [string] $Name
    [int] $ContactPrePassDurationSeconds
    [int] $ContactPostPassDurationSeconds
    [int] $MinimumViableContactDurationSeconds
    [GroundStationMissionProfileDataflowEdge[]] $DataflowEdges
    [string] $TrackingConfigArn
    [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 ContactPrePassDurationSeconds -Value {
            $this.Properties['ContactPrePassDurationSeconds']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['ContactPrePassDurationSeconds'] = if ($cast = $value -as [int]) {
                $cast
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name ContactPostPassDurationSeconds -Value {
            $this.Properties['ContactPostPassDurationSeconds']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['ContactPostPassDurationSeconds'] = if ($cast = $value -as [int]) {
                $cast
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name MinimumViableContactDurationSeconds -Value {
            $this.Properties['MinimumViableContactDurationSeconds']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['MinimumViableContactDurationSeconds'] = if ($cast = $value -as [int]) {
                $cast
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name DataflowEdges -Value {
            $this.Properties['DataflowEdges']
        } -SecondValue {
            param([ValidateType(([GroundStationMissionProfileDataflowEdge], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value)
            $this.Properties['DataflowEdges'] = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name TrackingConfigArn -Value {
            $this.Properties['TrackingConfigArn']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['TrackingConfigArn'] = 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
        }
    }

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