VaporShell.HealthLake.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 'HealthLakeFHIRDatastoreSseConfiguration'"

class HealthLakeFHIRDatastoreSseConfiguration : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSHealthLakeFHIRDatastoreSseConfiguration'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-healthlake-fhirdatastore-sseconfiguration.html'

    hidden [object] $_kmsEncryptionConfig

    [HealthLakeFHIRDatastoreKmsEncryptionConfig] $KmsEncryptionConfig

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

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

Write-Verbose "Importing class 'HealthLakeFHIRDatastorePreloadDataConfig'"

class HealthLakeFHIRDatastorePreloadDataConfig : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSHealthLakeFHIRDatastorePreloadDataConfig'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-healthlake-fhirdatastore-preloaddataconfig.html'

    hidden [object] $_preloadDataType

    [string] $PreloadDataType

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

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

Write-Verbose "Importing class 'HealthLakeFHIRDatastoreKmsEncryptionConfig'"

class HealthLakeFHIRDatastoreKmsEncryptionConfig : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSHealthLakeFHIRDatastoreKmsEncryptionConfig'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-healthlake-fhirdatastore-kmsencryptionconfig.html'

    hidden [object] $_cmkType
    hidden [object] $_kmsKeyId

    [string] $CmkType
    [string] $KmsKeyId

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

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

Write-Verbose "Importing class 'HealthLakeFHIRDatastore'"

class HealthLakeFHIRDatastore : VSResource {
    hidden [string] $_vsFunctionName = 'New-VSHealthLakeFHIRDatastore'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-healthlake-fhirdatastore.html'

    hidden [string[]] $_attributes = @('DatastoreArn','DatastoreEndpoint','DatastoreId','DatastoreStatus')
    hidden [object] $_condition

    [string] $Type = 'AWS::HealthLake::FHIRDatastore'
    [string] $DatastoreName
    [string] $DatastoreTypeVersion
    [HealthLakeFHIRDatastorePreloadDataConfig] $PreloadDataConfig
    [HealthLakeFHIRDatastoreSseConfiguration] $SseConfiguration
    [VSTag[]] $Tags
    [VSJson] $Metadata
    [UpdatePolicy] $UpdatePolicy
    [string] $Condition

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

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