VaporShell.DevOpsGuru.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 'DevOpsGuruResourceCollectionTagCollection'"

class DevOpsGuruResourceCollectionTagCollection : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSDevOpsGuruResourceCollectionTagCollection'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsguru-resourcecollection-tagcollection.html'

    hidden [object] $_appBoundaryKey
    hidden [object] $_tagValues

    [string] $AppBoundaryKey
    [string[]] $TagValues

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

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

Write-Verbose "Importing class 'DevOpsGuruNotificationChannelNotificationChannelConfig'"

class DevOpsGuruNotificationChannelNotificationChannelConfig : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSDevOpsGuruNotificationChannelNotificationChannelConfig'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsguru-notificationchannel-notificationchannelconfig.html'

    hidden [object] $_sns

    [DevOpsGuruNotificationChannelSnsChannelConfig] $Sns

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

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

Write-Verbose "Importing class 'DevOpsGuruNotificationChannelSnsChannelConfig'"

class DevOpsGuruNotificationChannelSnsChannelConfig : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSDevOpsGuruNotificationChannelSnsChannelConfig'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsguru-notificationchannel-snschannelconfig.html'

    hidden [object] $_topicArn

    [string] $TopicArn

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

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

Write-Verbose "Importing class 'DevOpsGuruResourceCollectionResourceCollectionFilter'"

class DevOpsGuruResourceCollectionResourceCollectionFilter : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSDevOpsGuruResourceCollectionResourceCollectionFilter'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsguru-resourcecollection-resourcecollectionfilter.html'

    hidden [object] $_cloudFormation
    hidden [object] $_tags

    [DevOpsGuruResourceCollectionCloudFormationCollectionFilter] $CloudFormation
    [DevOpsGuruResourceCollectionTagCollection[]] $Tags

    hidden [void] _addAccessors() {
        $this | Add-Member -Force -MemberType ScriptProperty -Name CloudFormation -Value {
            $this._cloudFormation
        } -SecondValue {
            param([ValidateType(([DevOpsGuruResourceCollectionCloudFormationCollectionFilter], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._cloudFormation = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Tags -Value {
            $this._tags
        } -SecondValue {
            param([ValidateType(([DevOpsGuruResourceCollectionTagCollection], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value)
            $this._tags = $value
        }
    }

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

Write-Verbose "Importing class 'DevOpsGuruResourceCollectionCloudFormationCollectionFilter'"

class DevOpsGuruResourceCollectionCloudFormationCollectionFilter : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSDevOpsGuruResourceCollectionCloudFormationCollectionFilter'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsguru-resourcecollection-cloudformationcollectionfilter.html'

    hidden [object] $_stackNames

    [string[]] $StackNames

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

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

Write-Verbose "Importing class 'DevOpsGuruNotificationChannel'"

class DevOpsGuruNotificationChannel : VSResource {
    hidden [string] $_vsFunctionName = 'New-VSDevOpsGuruNotificationChannel'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsguru-notificationchannel.html'

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

    [string] $Type = 'AWS::DevOpsGuru::NotificationChannel'
    [DevOpsGuruNotificationChannelNotificationChannelConfig] $Config
    [VSJson] $Metadata
    [UpdatePolicy] $UpdatePolicy
    [string] $Condition

    hidden [void] _addAccessors() {
        $this._addBaseAccessors()
        $this | Add-Member -Force -MemberType ScriptProperty -Name Config -Value {
            $this.Properties['Config']
        } -SecondValue {
            param([ValidateType(([DevOpsGuruNotificationChannelNotificationChannelConfig], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['Config'] = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Condition -Value {
            $this._condition
        } -SecondValue {
            param(
                [ValidateType(([string], [IntrinsicFunction], [ConditionFunction]))] [object]
                $value
            )
            $this._condition = $value
        }
    }

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

Write-Verbose "Importing class 'DevOpsGuruResourceCollection'"

class DevOpsGuruResourceCollection : VSResource {
    hidden [string] $_vsFunctionName = 'New-VSDevOpsGuruResourceCollection'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsguru-resourcecollection.html'

    hidden [string[]] $_attributes = @('ResourceCollectionType')
    hidden [object] $_condition

    [string] $Type = 'AWS::DevOpsGuru::ResourceCollection'
    [DevOpsGuruResourceCollectionResourceCollectionFilter] $ResourceCollectionFilter
    [VSJson] $Metadata
    [UpdatePolicy] $UpdatePolicy
    [string] $Condition

    hidden [void] _addAccessors() {
        $this._addBaseAccessors()
        $this | Add-Member -Force -MemberType ScriptProperty -Name ResourceCollectionFilter -Value {
            $this.Properties['ResourceCollectionFilter']
        } -SecondValue {
            param([ValidateType(([DevOpsGuruResourceCollectionResourceCollectionFilter], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['ResourceCollectionFilter'] = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Condition -Value {
            $this._condition
        } -SecondValue {
            param(
                [ValidateType(([string], [IntrinsicFunction], [ConditionFunction]))] [object]
                $value
            )
            $this._condition = $value
        }
    }

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