VaporShell.Route53RecoveryReadiness.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 'Route53RecoveryReadinessResourceSetTargetResource'"

class Route53RecoveryReadinessResourceSetTargetResource : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSRoute53RecoveryReadinessResourceSetTargetResource'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53recoveryreadiness-resourceset-targetresource.html'

    hidden [object] $_nLBResource
    hidden [object] $_r53Resource

    [Route53RecoveryReadinessResourceSetNLBResource] $NLBResource
    [Route53RecoveryReadinessResourceSetR53ResourceRecord] $R53Resource

    hidden [void] _addAccessors() {
        $this | Add-Member -Force -MemberType ScriptProperty -Name NLBResource -Value {
            $this._nLBResource
        } -SecondValue {
            param([ValidateType(([Route53RecoveryReadinessResourceSetNLBResource], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._nLBResource = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name R53Resource -Value {
            $this._r53Resource
        } -SecondValue {
            param([ValidateType(([Route53RecoveryReadinessResourceSetR53ResourceRecord], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._r53Resource = $value
        }
    }

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

Write-Verbose "Importing class 'Route53RecoveryReadinessResourceSetResource'"

class Route53RecoveryReadinessResourceSetResource : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSRoute53RecoveryReadinessResourceSetResource'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53recoveryreadiness-resourceset-resource.html'

    hidden [object] $_resourceArn
    hidden [object] $_componentId
    hidden [object] $_dnsTargetResource
    hidden [object] $_readinessScopes

    [string] $ResourceArn
    [string] $ComponentId
    [Route53RecoveryReadinessResourceSetDNSTargetResource] $DnsTargetResource
    [string[]] $ReadinessScopes

    hidden [void] _addAccessors() {
        $this | Add-Member -Force -MemberType ScriptProperty -Name ResourceArn -Value {
            $this._resourceArn
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._resourceArn = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name ComponentId -Value {
            $this._componentId
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._componentId = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name DnsTargetResource -Value {
            $this._dnsTargetResource
        } -SecondValue {
            param([ValidateType(([Route53RecoveryReadinessResourceSetDNSTargetResource], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._dnsTargetResource = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name ReadinessScopes -Value {
            $this._readinessScopes
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value)
            $this._readinessScopes = @($value)
        }
    }

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

Write-Verbose "Importing class 'Route53RecoveryReadinessResourceSetDNSTargetResource'"

class Route53RecoveryReadinessResourceSetDNSTargetResource : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSRoute53RecoveryReadinessResourceSetDNSTargetResource'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53recoveryreadiness-resourceset-dnstargetresource.html'

    hidden [object] $_domainName
    hidden [object] $_recordSetId
    hidden [object] $_hostedZoneArn
    hidden [object] $_recordType
    hidden [object] $_targetResource

    [string] $DomainName
    [string] $RecordSetId
    [string] $HostedZoneArn
    [string] $RecordType
    [Route53RecoveryReadinessResourceSetTargetResource] $TargetResource

    hidden [void] _addAccessors() {
        $this | Add-Member -Force -MemberType ScriptProperty -Name DomainName -Value {
            $this._domainName
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._domainName = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name RecordSetId -Value {
            $this._recordSetId
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._recordSetId = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name HostedZoneArn -Value {
            $this._hostedZoneArn
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._hostedZoneArn = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name RecordType -Value {
            $this._recordType
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._recordType = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name TargetResource -Value {
            $this._targetResource
        } -SecondValue {
            param([ValidateType(([Route53RecoveryReadinessResourceSetTargetResource], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._targetResource = $value
        }
    }

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

Write-Verbose "Importing class 'Route53RecoveryReadinessResourceSetNLBResource'"

class Route53RecoveryReadinessResourceSetNLBResource : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSRoute53RecoveryReadinessResourceSetNLBResource'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53recoveryreadiness-resourceset-nlbresource.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
            }
        }
    }

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

Write-Verbose "Importing class 'Route53RecoveryReadinessResourceSetR53ResourceRecord'"

class Route53RecoveryReadinessResourceSetR53ResourceRecord : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSRoute53RecoveryReadinessResourceSetR53ResourceRecord'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53recoveryreadiness-resourceset-r53resourcerecord.html'

    hidden [object] $_domainName
    hidden [object] $_recordSetId

    [string] $DomainName
    [string] $RecordSetId

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

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

Write-Verbose "Importing class 'Route53RecoveryReadinessReadinessCheck'"

class Route53RecoveryReadinessReadinessCheck : VSResource {
    hidden [string] $_vsFunctionName = 'New-VSRoute53RecoveryReadinessReadinessCheck'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53recoveryreadiness-readinesscheck.html'

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

    [string] $Type = 'AWS::Route53RecoveryReadiness::ReadinessCheck'
    [string] $ResourceSetName
    [string] $ReadinessCheckName
    [VSTag[]] $Tags
    [VSJson] $Metadata
    [UpdatePolicy] $UpdatePolicy
    [string] $Condition

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

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

Write-Verbose "Importing class 'Route53RecoveryReadinessRecoveryGroup'"

class Route53RecoveryReadinessRecoveryGroup : VSResource {
    hidden [string] $_vsFunctionName = 'New-VSRoute53RecoveryReadinessRecoveryGroup'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53recoveryreadiness-recoverygroup.html'

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

    [string] $Type = 'AWS::Route53RecoveryReadiness::RecoveryGroup'
    [string] $RecoveryGroupName
    [string[]] $Cells
    [VSTag[]] $Tags
    [VSJson] $Metadata
    [UpdatePolicy] $UpdatePolicy
    [string] $Condition

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

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

Write-Verbose "Importing class 'Route53RecoveryReadinessCell'"

class Route53RecoveryReadinessCell : VSResource {
    hidden [string] $_vsFunctionName = 'New-VSRoute53RecoveryReadinessCell'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53recoveryreadiness-cell.html'

    hidden [string[]] $_attributes = @('CellArn','ParentReadinessScopes')
    hidden [object] $_condition

    [string] $Type = 'AWS::Route53RecoveryReadiness::Cell'
    [string] $CellName
    [string[]] $Cells
    [VSTag[]] $Tags
    [VSJson] $Metadata
    [UpdatePolicy] $UpdatePolicy
    [string] $Condition

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

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

Write-Verbose "Importing class 'Route53RecoveryReadinessResourceSet'"

class Route53RecoveryReadinessResourceSet : VSResource {
    hidden [string] $_vsFunctionName = 'New-VSRoute53RecoveryReadinessResourceSet'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53recoveryreadiness-resourceset.html'

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

    [string] $Type = 'AWS::Route53RecoveryReadiness::ResourceSet'
    [string] $ResourceSetName
    [Route53RecoveryReadinessResourceSetResource[]] $Resources
    [string] $ResourceSetType
    [VSTag[]] $Tags
    [VSJson] $Metadata
    [UpdatePolicy] $UpdatePolicy
    [string] $Condition

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

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