VaporShell.ServiceCatalogAppRegistry.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 'ServiceCatalogAppRegistryApplication'"

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

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

    [string] $Type = 'AWS::ServiceCatalogAppRegistry::Application'
    [string] $Name
    [string] $Description
    [string] $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 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 Tags -Value {
            $this.Properties['Tags']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['Tags'] = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Condition -Value {
            $this._condition
        } -SecondValue {
            param(
                [ValidateType(([string], [IntrinsicFunction], [ConditionFunction]))] [object]
                $value
            )
            $this._condition = $value
        }
    }

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

Write-Verbose "Importing class 'ServiceCatalogAppRegistryResourceAssociation'"

class ServiceCatalogAppRegistryResourceAssociation : VSResource {
    hidden [string] $_vsFunctionName = 'New-VSServiceCatalogAppRegistryResourceAssociation'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalogappregistry-resourceassociation.html'

    hidden [string[]] $_attributes = @('ApplicationArn','ResourceArn','Id')
    hidden [object] $_condition

    [string] $Type = 'AWS::ServiceCatalogAppRegistry::ResourceAssociation'
    [string] $Application
    [string] $Resource
    [string] $ResourceType
    [VSJson] $Metadata
    [UpdatePolicy] $UpdatePolicy
    [string] $Condition

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

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

Write-Verbose "Importing class 'ServiceCatalogAppRegistryAttributeGroup'"

class ServiceCatalogAppRegistryAttributeGroup : VSResource {
    hidden [string] $_vsFunctionName = 'New-VSServiceCatalogAppRegistryAttributeGroup'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalogappregistry-attributegroup.html'

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

    [string] $Type = 'AWS::ServiceCatalogAppRegistry::AttributeGroup'
    [string] $Name
    [string] $Description
    [VSJson] $Attributes
    [string] $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 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 Attributes -Value {
            $this.Properties['Attributes']
        } -SecondValue {
            param([ValidateType(([string], [VSJson], [VSYaml], [psobject], [IDictionary]))][object] $value)
            $this.Properties['Attributes'] = [VSJson]::Transform($value)
            Write-Debug $this.Properties['Attributes']
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Tags -Value {
            $this.Properties['Tags']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['Tags'] = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Condition -Value {
            $this._condition
        } -SecondValue {
            param(
                [ValidateType(([string], [IntrinsicFunction], [ConditionFunction]))] [object]
                $value
            )
            $this._condition = $value
        }
    }

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

Write-Verbose "Importing class 'ServiceCatalogAppRegistryAttributeGroupAssociation'"

class ServiceCatalogAppRegistryAttributeGroupAssociation : VSResource {
    hidden [string] $_vsFunctionName = 'New-VSServiceCatalogAppRegistryAttributeGroupAssociation'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalogappregistry-attributegroupassociation.html'

    hidden [string[]] $_attributes = @('ApplicationArn','AttributeGroupArn','Id')
    hidden [object] $_condition

    [string] $Type = 'AWS::ServiceCatalogAppRegistry::AttributeGroupAssociation'
    [string] $Application
    [string] $AttributeGroup
    [VSJson] $Metadata
    [UpdatePolicy] $UpdatePolicy
    [string] $Condition

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

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