VaporShell.AppRunner.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 'AppRunnerServiceImageConfiguration'" class AppRunnerServiceImageConfiguration : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSAppRunnerServiceImageConfiguration' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-imageconfiguration.html' hidden [object] $_startCommand hidden [object] $_port hidden [object] $_runtimeEnvironmentVariables [string] $StartCommand [string] $Port [AppRunnerServiceKeyValuePair[]] $RuntimeEnvironmentVariables hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name StartCommand -Value { $this._startCommand } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._startCommand = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Port -Value { $this._port } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._port = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name RuntimeEnvironmentVariables -Value { $this._runtimeEnvironmentVariables } -SecondValue { param([ValidateType(([AppRunnerServiceKeyValuePair], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value) $this._runtimeEnvironmentVariables = $value } } AppRunnerServiceImageConfiguration() : base() {} AppRunnerServiceImageConfiguration([IDictionary] $props) : base($props) {} AppRunnerServiceImageConfiguration([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'AppRunnerServiceInstanceConfiguration'" class AppRunnerServiceInstanceConfiguration : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSAppRunnerServiceInstanceConfiguration' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-instanceconfiguration.html' hidden [object] $_cpu hidden [object] $_memory hidden [object] $_instanceRoleArn [string] $Cpu [string] $Memory [string] $InstanceRoleArn hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name Cpu -Value { $this._cpu } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._cpu = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Memory -Value { $this._memory } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._memory = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name InstanceRoleArn -Value { $this._instanceRoleArn } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._instanceRoleArn = if ($value -is [int]) { $value.ToString() } else { $value } } } AppRunnerServiceInstanceConfiguration() : base() {} AppRunnerServiceInstanceConfiguration([IDictionary] $props) : base($props) {} AppRunnerServiceInstanceConfiguration([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'AppRunnerServiceAuthenticationConfiguration'" class AppRunnerServiceAuthenticationConfiguration : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSAppRunnerServiceAuthenticationConfiguration' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-authenticationconfiguration.html' hidden [object] $_connectionArn hidden [object] $_accessRoleArn [string] $ConnectionArn [string] $AccessRoleArn hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name ConnectionArn -Value { $this._connectionArn } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._connectionArn = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name AccessRoleArn -Value { $this._accessRoleArn } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._accessRoleArn = if ($value -is [int]) { $value.ToString() } else { $value } } } AppRunnerServiceAuthenticationConfiguration() : base() {} AppRunnerServiceAuthenticationConfiguration([IDictionary] $props) : base($props) {} AppRunnerServiceAuthenticationConfiguration([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'AppRunnerServiceKeyValuePair'" class AppRunnerServiceKeyValuePair : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSAppRunnerServiceKeyValuePair' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-keyvaluepair.html' hidden [object] $_name hidden [object] $_value [string] $Name [string] $Value hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name Name -Value { $this._name } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._name = 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 } } } AppRunnerServiceKeyValuePair() : base() {} AppRunnerServiceKeyValuePair([IDictionary] $props) : base($props) {} AppRunnerServiceKeyValuePair([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'AppRunnerServiceEncryptionConfiguration'" class AppRunnerServiceEncryptionConfiguration : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSAppRunnerServiceEncryptionConfiguration' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-encryptionconfiguration.html' hidden [object] $_kmsKey [string] $KmsKey hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name KmsKey -Value { $this._kmsKey } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._kmsKey = if ($value -is [int]) { $value.ToString() } else { $value } } } AppRunnerServiceEncryptionConfiguration() : base() {} AppRunnerServiceEncryptionConfiguration([IDictionary] $props) : base($props) {} AppRunnerServiceEncryptionConfiguration([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'AppRunnerServiceHealthCheckConfiguration'" class AppRunnerServiceHealthCheckConfiguration : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSAppRunnerServiceHealthCheckConfiguration' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-healthcheckconfiguration.html' hidden [object] $_protocol hidden [object] $_path hidden [object] $_interval hidden [object] $_timeout hidden [object] $_healthyThreshold hidden [object] $_unhealthyThreshold [string] $Protocol [string] $Path [int] $Interval [int] $Timeout [int] $HealthyThreshold [int] $UnhealthyThreshold hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name Protocol -Value { $this._protocol } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._protocol = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Path -Value { $this._path } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._path = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Interval -Value { $this._interval } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._interval = if ($cast = $value -as [int]) { $cast } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Timeout -Value { $this._timeout } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._timeout = if ($cast = $value -as [int]) { $cast } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name HealthyThreshold -Value { $this._healthyThreshold } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._healthyThreshold = if ($cast = $value -as [int]) { $cast } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name UnhealthyThreshold -Value { $this._unhealthyThreshold } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._unhealthyThreshold = if ($cast = $value -as [int]) { $cast } else { $value } } } AppRunnerServiceHealthCheckConfiguration() : base() {} AppRunnerServiceHealthCheckConfiguration([IDictionary] $props) : base($props) {} AppRunnerServiceHealthCheckConfiguration([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'AppRunnerServiceCodeConfigurationValues'" class AppRunnerServiceCodeConfigurationValues : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSAppRunnerServiceCodeConfigurationValues' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-codeconfigurationvalues.html' hidden [object] $_runtime hidden [object] $_buildCommand hidden [object] $_startCommand hidden [object] $_port hidden [object] $_runtimeEnvironmentVariables [string] $Runtime [string] $BuildCommand [string] $StartCommand [string] $Port [AppRunnerServiceKeyValuePair[]] $RuntimeEnvironmentVariables hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name Runtime -Value { $this._runtime } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._runtime = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name BuildCommand -Value { $this._buildCommand } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._buildCommand = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name StartCommand -Value { $this._startCommand } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._startCommand = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Port -Value { $this._port } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._port = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name RuntimeEnvironmentVariables -Value { $this._runtimeEnvironmentVariables } -SecondValue { param([ValidateType(([AppRunnerServiceKeyValuePair], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value) $this._runtimeEnvironmentVariables = $value } } AppRunnerServiceCodeConfigurationValues() : base() {} AppRunnerServiceCodeConfigurationValues([IDictionary] $props) : base($props) {} AppRunnerServiceCodeConfigurationValues([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'AppRunnerServiceSourceCodeVersion'" class AppRunnerServiceSourceCodeVersion : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSAppRunnerServiceSourceCodeVersion' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-sourcecodeversion.html' hidden [object] $_type hidden [object] $_value [string] $Type [string] $Value 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 Value -Value { $this._value } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._value = if ($value -is [int]) { $value.ToString() } else { $value } } } AppRunnerServiceSourceCodeVersion() : base() {} AppRunnerServiceSourceCodeVersion([IDictionary] $props) : base($props) {} AppRunnerServiceSourceCodeVersion([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'AppRunnerServiceImageRepository'" class AppRunnerServiceImageRepository : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSAppRunnerServiceImageRepository' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-imagerepository.html' hidden [object] $_imageIdentifier hidden [object] $_imageConfiguration hidden [object] $_imageRepositoryType [string] $ImageIdentifier [AppRunnerServiceImageConfiguration] $ImageConfiguration [string] $ImageRepositoryType hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name ImageIdentifier -Value { $this._imageIdentifier } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._imageIdentifier = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name ImageConfiguration -Value { $this._imageConfiguration } -SecondValue { param([ValidateType(([AppRunnerServiceImageConfiguration], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._imageConfiguration = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name ImageRepositoryType -Value { $this._imageRepositoryType } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._imageRepositoryType = if ($value -is [int]) { $value.ToString() } else { $value } } } AppRunnerServiceImageRepository() : base() {} AppRunnerServiceImageRepository([IDictionary] $props) : base($props) {} AppRunnerServiceImageRepository([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'AppRunnerServiceNetworkConfiguration'" class AppRunnerServiceNetworkConfiguration : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSAppRunnerServiceNetworkConfiguration' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-networkconfiguration.html' hidden [object] $_egressConfiguration [AppRunnerServiceEgressConfiguration] $EgressConfiguration hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name EgressConfiguration -Value { $this._egressConfiguration } -SecondValue { param([ValidateType(([AppRunnerServiceEgressConfiguration], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._egressConfiguration = $value } } AppRunnerServiceNetworkConfiguration() : base() {} AppRunnerServiceNetworkConfiguration([IDictionary] $props) : base($props) {} AppRunnerServiceNetworkConfiguration([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'AppRunnerServiceEgressConfiguration'" class AppRunnerServiceEgressConfiguration : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSAppRunnerServiceEgressConfiguration' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-egressconfiguration.html' hidden [object] $_egressType hidden [object] $_vpcConnectorArn [string] $EgressType [string] $VpcConnectorArn hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name EgressType -Value { $this._egressType } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._egressType = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name VpcConnectorArn -Value { $this._vpcConnectorArn } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._vpcConnectorArn = if ($value -is [int]) { $value.ToString() } else { $value } } } AppRunnerServiceEgressConfiguration() : base() {} AppRunnerServiceEgressConfiguration([IDictionary] $props) : base($props) {} AppRunnerServiceEgressConfiguration([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'AppRunnerServiceSourceConfiguration'" class AppRunnerServiceSourceConfiguration : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSAppRunnerServiceSourceConfiguration' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-sourceconfiguration.html' hidden [object] $_codeRepository hidden [object] $_imageRepository hidden [object] $_autoDeploymentsEnabled hidden [object] $_authenticationConfiguration [AppRunnerServiceCodeRepository] $CodeRepository [AppRunnerServiceImageRepository] $ImageRepository [bool] $AutoDeploymentsEnabled [AppRunnerServiceAuthenticationConfiguration] $AuthenticationConfiguration hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name CodeRepository -Value { $this._codeRepository } -SecondValue { param([ValidateType(([AppRunnerServiceCodeRepository], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._codeRepository = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name ImageRepository -Value { $this._imageRepository } -SecondValue { param([ValidateType(([AppRunnerServiceImageRepository], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._imageRepository = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name AutoDeploymentsEnabled -Value { $this._autoDeploymentsEnabled } -SecondValue { param([ValidateType(([bool], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._autoDeploymentsEnabled = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name AuthenticationConfiguration -Value { $this._authenticationConfiguration } -SecondValue { param([ValidateType(([AppRunnerServiceAuthenticationConfiguration], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._authenticationConfiguration = $value } } AppRunnerServiceSourceConfiguration() : base() {} AppRunnerServiceSourceConfiguration([IDictionary] $props) : base($props) {} AppRunnerServiceSourceConfiguration([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'AppRunnerServiceCodeRepository'" class AppRunnerServiceCodeRepository : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSAppRunnerServiceCodeRepository' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-coderepository.html' hidden [object] $_repositoryUrl hidden [object] $_sourceCodeVersion hidden [object] $_codeConfiguration [string] $RepositoryUrl [AppRunnerServiceSourceCodeVersion] $SourceCodeVersion [AppRunnerServiceCodeConfiguration] $CodeConfiguration hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name RepositoryUrl -Value { $this._repositoryUrl } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._repositoryUrl = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name SourceCodeVersion -Value { $this._sourceCodeVersion } -SecondValue { param([ValidateType(([AppRunnerServiceSourceCodeVersion], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._sourceCodeVersion = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name CodeConfiguration -Value { $this._codeConfiguration } -SecondValue { param([ValidateType(([AppRunnerServiceCodeConfiguration], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._codeConfiguration = $value } } AppRunnerServiceCodeRepository() : base() {} AppRunnerServiceCodeRepository([IDictionary] $props) : base($props) {} AppRunnerServiceCodeRepository([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'AppRunnerServiceCodeConfiguration'" class AppRunnerServiceCodeConfiguration : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSAppRunnerServiceCodeConfiguration' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-codeconfiguration.html' hidden [object] $_configurationSource hidden [object] $_codeConfigurationValues [string] $ConfigurationSource [AppRunnerServiceCodeConfigurationValues] $CodeConfigurationValues hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name ConfigurationSource -Value { $this._configurationSource } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._configurationSource = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name CodeConfigurationValues -Value { $this._codeConfigurationValues } -SecondValue { param([ValidateType(([AppRunnerServiceCodeConfigurationValues], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._codeConfigurationValues = $value } } AppRunnerServiceCodeConfiguration() : base() {} AppRunnerServiceCodeConfiguration([IDictionary] $props) : base($props) {} AppRunnerServiceCodeConfiguration([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'AppRunnerVpcConnector'" class AppRunnerVpcConnector : VSResource { hidden [string] $_vsFunctionName = 'New-VSAppRunnerVpcConnector' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apprunner-vpcconnector.html' hidden [string[]] $_attributes = @('VpcConnectorArn','VpcConnectorRevision') hidden [object] $_condition [string] $Type = 'AWS::AppRunner::VpcConnector' [string] $VpcConnectorName [string[]] $Subnets [string[]] $SecurityGroups [VSTag[]] $Tags [VSJson] $Metadata [UpdatePolicy] $UpdatePolicy [string] $Condition hidden [void] _addAccessors() { $this._addBaseAccessors() $this | Add-Member -Force -MemberType ScriptProperty -Name VpcConnectorName -Value { $this.Properties['VpcConnectorName'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['VpcConnectorName'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Subnets -Value { $this.Properties['Subnets'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value) $this.Properties['Subnets'] = @($value) } $this | Add-Member -Force -MemberType ScriptProperty -Name SecurityGroups -Value { $this.Properties['SecurityGroups'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value) $this.Properties['SecurityGroups'] = @($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 } } AppRunnerVpcConnector() : base() {} AppRunnerVpcConnector([IDictionary] $props) : base($props) {} AppRunnerVpcConnector([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'AppRunnerService'" class AppRunnerService : VSResource { hidden [string] $_vsFunctionName = 'New-VSAppRunnerService' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apprunner-service.html' hidden [string[]] $_attributes = @('ServiceId','ServiceArn','ServiceUrl','Status') hidden [object] $_condition [string] $Type = 'AWS::AppRunner::Service' [string] $ServiceName [AppRunnerServiceSourceConfiguration] $SourceConfiguration [AppRunnerServiceInstanceConfiguration] $InstanceConfiguration [VSTag[]] $Tags [AppRunnerServiceEncryptionConfiguration] $EncryptionConfiguration [AppRunnerServiceHealthCheckConfiguration] $HealthCheckConfiguration [string] $AutoScalingConfigurationArn [AppRunnerServiceNetworkConfiguration] $NetworkConfiguration [VSJson] $Metadata [UpdatePolicy] $UpdatePolicy [string] $Condition hidden [void] _addAccessors() { $this._addBaseAccessors() $this | Add-Member -Force -MemberType ScriptProperty -Name ServiceName -Value { $this.Properties['ServiceName'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['ServiceName'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name SourceConfiguration -Value { $this.Properties['SourceConfiguration'] } -SecondValue { param([ValidateType(([AppRunnerServiceSourceConfiguration], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['SourceConfiguration'] = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name InstanceConfiguration -Value { $this.Properties['InstanceConfiguration'] } -SecondValue { param([ValidateType(([AppRunnerServiceInstanceConfiguration], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['InstanceConfiguration'] = $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 EncryptionConfiguration -Value { $this.Properties['EncryptionConfiguration'] } -SecondValue { param([ValidateType(([AppRunnerServiceEncryptionConfiguration], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['EncryptionConfiguration'] = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name HealthCheckConfiguration -Value { $this.Properties['HealthCheckConfiguration'] } -SecondValue { param([ValidateType(([AppRunnerServiceHealthCheckConfiguration], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['HealthCheckConfiguration'] = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name AutoScalingConfigurationArn -Value { $this.Properties['AutoScalingConfigurationArn'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['AutoScalingConfigurationArn'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name NetworkConfiguration -Value { $this.Properties['NetworkConfiguration'] } -SecondValue { param([ValidateType(([AppRunnerServiceNetworkConfiguration], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['NetworkConfiguration'] = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name Condition -Value { $this._condition } -SecondValue { param( [ValidateType(([string], [IntrinsicFunction], [ConditionFunction]))] [object] $value ) $this._condition = $value } } AppRunnerService() : base() {} AppRunnerService([IDictionary] $props) : base($props) {} AppRunnerService([psobject] $props) : base($props) {} } |