VaporShell.IoTFleetHub.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 'IoTFleetHubApplication'" class IoTFleetHubApplication : VSResource { hidden [string] $_vsFunctionName = 'New-VSIoTFleetHubApplication' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotfleethub-application.html' hidden [string[]] $_attributes = @('ApplicationId','ApplicationArn','ApplicationUrl','ApplicationState','ApplicationCreationDate','ApplicationLastUpdateDate','SsoClientId','ErrorMessage') hidden [object] $_condition [string] $Type = 'AWS::IoTFleetHub::Application' [string] $ApplicationName [string] $ApplicationDescription [string] $RoleArn [VSTag[]] $Tags [VSJson] $Metadata [UpdatePolicy] $UpdatePolicy [string] $Condition hidden [void] _addAccessors() { $this._addBaseAccessors() $this | Add-Member -Force -MemberType ScriptProperty -Name ApplicationName -Value { $this.Properties['ApplicationName'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['ApplicationName'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name ApplicationDescription -Value { $this.Properties['ApplicationDescription'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['ApplicationDescription'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name RoleArn -Value { $this.Properties['RoleArn'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['RoleArn'] = 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 } } IoTFleetHubApplication() : base() {} IoTFleetHubApplication([IDictionary] $props) : base($props) {} IoTFleetHubApplication([psobject] $props) : base($props) {} } |