VaporShell.AppIntegrations.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 'AppIntegrationsEventIntegrationMetadata'"

class AppIntegrationsEventIntegrationMetadata : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSAppIntegrationsEventIntegrationMetadata'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-eventintegration-metadata.html'

    hidden [object] $_key
    hidden [object] $_value

    [string] $Key
    [string] $Value

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

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

Write-Verbose "Importing class 'AppIntegrationsEventIntegrationEventFilter'"

class AppIntegrationsEventIntegrationEventFilter : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSAppIntegrationsEventIntegrationEventFilter'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-eventintegration-eventfilter.html'

    hidden [object] $_source

    [string] $Source

    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
            }
        }
    }

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

Write-Verbose "Importing class 'AppIntegrationsEventIntegrationEventIntegrationAssociation'"

class AppIntegrationsEventIntegrationEventIntegrationAssociation : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSAppIntegrationsEventIntegrationEventIntegrationAssociation'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-eventintegration-eventintegrationassociation.html'

    hidden [object] $_clientAssociationMetadata
    hidden [object] $_clientId
    hidden [object] $_eventBridgeRuleName
    hidden [object] $_eventIntegrationAssociationArn
    hidden [object] $_eventIntegrationAssociationId

    [AppIntegrationsEventIntegrationMetadata[]] $ClientAssociationMetadata
    [string] $ClientId
    [string] $EventBridgeRuleName
    [string] $EventIntegrationAssociationArn
    [string] $EventIntegrationAssociationId

    hidden [void] _addAccessors() {
        $this | Add-Member -Force -MemberType ScriptProperty -Name ClientAssociationMetadata -Value {
            $this._clientAssociationMetadata
        } -SecondValue {
            param([ValidateType(([AppIntegrationsEventIntegrationMetadata], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value)
            $this._clientAssociationMetadata = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name ClientId -Value {
            $this._clientId
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._clientId = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name EventBridgeRuleName -Value {
            $this._eventBridgeRuleName
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._eventBridgeRuleName = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name EventIntegrationAssociationArn -Value {
            $this._eventIntegrationAssociationArn
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._eventIntegrationAssociationArn = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name EventIntegrationAssociationId -Value {
            $this._eventIntegrationAssociationId
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._eventIntegrationAssociationId = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
    }

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

Write-Verbose "Importing class 'AppIntegrationsEventIntegration'"

class AppIntegrationsEventIntegration : VSResource {
    hidden [string] $_vsFunctionName = 'New-VSAppIntegrationsEventIntegration'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appintegrations-eventintegration.html'

    hidden [string[]] $_attributes = @('EventIntegrationArn','Associations')
    hidden [object] $_condition

    [string] $Type = 'AWS::AppIntegrations::EventIntegration'
    [string] $Description
    [string] $Name
    [string] $EventBridgeBus
    [AppIntegrationsEventIntegrationEventFilter] $EventFilter
    [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 EventBridgeBus -Value {
            $this.Properties['EventBridgeBus']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['EventBridgeBus'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name EventFilter -Value {
            $this.Properties['EventFilter']
        } -SecondValue {
            param([ValidateType(([AppIntegrationsEventIntegrationEventFilter], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['EventFilter'] = $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
        }
    }

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