VaporShell.RefactorSpaces.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 'RefactorSpacesRouteUriPathRouteInput'"

class RefactorSpacesRouteUriPathRouteInput : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSRefactorSpacesRouteUriPathRouteInput'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-refactorspaces-route-uripathrouteinput.html'

    hidden [object] $_sourcePath
    hidden [object] $_activationState
    hidden [object] $_methods
    hidden [object] $_includeChildPaths

    [string] $SourcePath
    [string] $ActivationState
    [string[]] $Methods
    [bool] $IncludeChildPaths

    hidden [void] _addAccessors() {
        $this | Add-Member -Force -MemberType ScriptProperty -Name SourcePath -Value {
            $this._sourcePath
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._sourcePath = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name ActivationState -Value {
            $this._activationState
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._activationState = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Methods -Value {
            $this._methods
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value)
            $this._methods = @($value)
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name IncludeChildPaths -Value {
            $this._includeChildPaths
        } -SecondValue {
            param([ValidateType(([bool], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._includeChildPaths = $value
        }
    }

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

Write-Verbose "Importing class 'RefactorSpacesServiceLambdaEndpointInput'"

class RefactorSpacesServiceLambdaEndpointInput : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSRefactorSpacesServiceLambdaEndpointInput'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-refactorspaces-service-lambdaendpointinput.html'

    hidden [object] $_arn

    [string] $Arn

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

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

Write-Verbose "Importing class 'RefactorSpacesApplicationApiGatewayProxyInput'"

class RefactorSpacesApplicationApiGatewayProxyInput : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSRefactorSpacesApplicationApiGatewayProxyInput'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-refactorspaces-application-apigatewayproxyinput.html'

    hidden [object] $_stageName
    hidden [object] $_endpointType

    [string] $StageName
    [string] $EndpointType

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

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

Write-Verbose "Importing class 'RefactorSpacesServiceUrlEndpointInput'"

class RefactorSpacesServiceUrlEndpointInput : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSRefactorSpacesServiceUrlEndpointInput'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-refactorspaces-service-urlendpointinput.html'

    hidden [object] $_healthUrl
    hidden [object] $_url

    [string] $HealthUrl
    [string] $Url

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

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

Write-Verbose "Importing class 'RefactorSpacesEnvironment'"

class RefactorSpacesEnvironment : VSResource {
    hidden [string] $_vsFunctionName = 'New-VSRefactorSpacesEnvironment'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-environment.html'

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

    [string] $Type = 'AWS::RefactorSpaces::Environment'
    [string] $Description
    [string] $Name
    [string] $NetworkFabricType
    [VSTag[]] $Tags
    [VSJson] $Metadata
    [UpdatePolicy] $UpdatePolicy
    [string] $Condition

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

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

Write-Verbose "Importing class 'RefactorSpacesService'"

class RefactorSpacesService : VSResource {
    hidden [string] $_vsFunctionName = 'New-VSRefactorSpacesService'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-service.html'

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

    [string] $Type = 'AWS::RefactorSpaces::Service'
    [string] $ApplicationIdentifier
    [string] $Description
    [string] $EndpointType
    [string] $EnvironmentIdentifier
    [RefactorSpacesServiceLambdaEndpointInput] $LambdaEndpoint
    [string] $Name
    [RefactorSpacesServiceUrlEndpointInput] $UrlEndpoint
    [string] $VpcId
    [VSTag[]] $Tags
    [VSJson] $Metadata
    [UpdatePolicy] $UpdatePolicy
    [string] $Condition

    hidden [void] _addAccessors() {
        $this._addBaseAccessors()
        $this | Add-Member -Force -MemberType ScriptProperty -Name ApplicationIdentifier -Value {
            $this.Properties['ApplicationIdentifier']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['ApplicationIdentifier'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Description -Value {
            $this.Properties['Description']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['Description'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name EndpointType -Value {
            $this.Properties['EndpointType']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['EndpointType'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name EnvironmentIdentifier -Value {
            $this.Properties['EnvironmentIdentifier']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['EnvironmentIdentifier'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name LambdaEndpoint -Value {
            $this.Properties['LambdaEndpoint']
        } -SecondValue {
            param([ValidateType(([RefactorSpacesServiceLambdaEndpointInput], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['LambdaEndpoint'] = $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 UrlEndpoint -Value {
            $this.Properties['UrlEndpoint']
        } -SecondValue {
            param([ValidateType(([RefactorSpacesServiceUrlEndpointInput], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['UrlEndpoint'] = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name VpcId -Value {
            $this.Properties['VpcId']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['VpcId'] = 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
        }
    }

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

Write-Verbose "Importing class 'RefactorSpacesRoute'"

class RefactorSpacesRoute : VSResource {
    hidden [string] $_vsFunctionName = 'New-VSRefactorSpacesRoute'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-route.html'

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

    [string] $Type = 'AWS::RefactorSpaces::Route'
    [string] $ApplicationIdentifier
    [string] $EnvironmentIdentifier
    [string] $RouteType
    [string] $ServiceIdentifier
    [RefactorSpacesRouteUriPathRouteInput] $UriPathRoute
    [VSTag[]] $Tags
    [VSJson] $Metadata
    [UpdatePolicy] $UpdatePolicy
    [string] $Condition

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

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

Write-Verbose "Importing class 'RefactorSpacesApplication'"

class RefactorSpacesApplication : VSResource {
    hidden [string] $_vsFunctionName = 'New-VSRefactorSpacesApplication'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-application.html'

    hidden [string[]] $_attributes = @('Arn','ApiGatewayId','VpcLinkId','NlbArn','NlbName','ApplicationIdentifier','StageName','ProxyUrl')
    hidden [object] $_condition

    [string] $Type = 'AWS::RefactorSpaces::Application'
    [RefactorSpacesApplicationApiGatewayProxyInput] $ApiGatewayProxy
    [string] $EnvironmentIdentifier
    [string] $Name
    [string] $ProxyType
    [string] $VpcId
    [VSTag[]] $Tags
    [VSJson] $Metadata
    [UpdatePolicy] $UpdatePolicy
    [string] $Condition

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

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