VaporShell.EMRContainers.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 'EMRContainersVirtualClusterContainerInfo'"

class EMRContainersVirtualClusterContainerInfo : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSEMRContainersVirtualClusterContainerInfo'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emrcontainers-virtualcluster-containerinfo.html'

    hidden [object] $_eksInfo

    [EMRContainersVirtualClusterEksInfo] $EksInfo

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

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

Write-Verbose "Importing class 'EMRContainersVirtualClusterEksInfo'"

class EMRContainersVirtualClusterEksInfo : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSEMRContainersVirtualClusterEksInfo'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emrcontainers-virtualcluster-eksinfo.html'

    hidden [object] $_namespace

    [string] $Namespace

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

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

Write-Verbose "Importing class 'EMRContainersVirtualClusterContainerProvider'"

class EMRContainersVirtualClusterContainerProvider : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSEMRContainersVirtualClusterContainerProvider'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emrcontainers-virtualcluster-containerprovider.html'

    hidden [object] $_type
    hidden [object] $_id
    hidden [object] $_info

    [string] $Type
    [string] $Id
    [EMRContainersVirtualClusterContainerInfo] $Info

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

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

Write-Verbose "Importing class 'EMRContainersVirtualCluster'"

class EMRContainersVirtualCluster : VSResource {
    hidden [string] $_vsFunctionName = 'New-VSEMRContainersVirtualCluster'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emrcontainers-virtualcluster.html'

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

    [string] $Type = 'AWS::EMRContainers::VirtualCluster'
    [EMRContainersVirtualClusterContainerProvider] $ContainerProvider
    [string] $Name
    [VSTag[]] $Tags
    [VSJson] $Metadata
    [UpdatePolicy] $UpdatePolicy
    [string] $Condition

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

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