VaporShell.Detective.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 'DetectiveMemberInvitation'" class DetectiveMemberInvitation : VSResource { hidden [string] $_vsFunctionName = 'New-VSDetectiveMemberInvitation' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-detective-memberinvitation.html' hidden [object] $_condition [string] $Type = 'AWS::Detective::MemberInvitation' [string] $GraphArn [string] $MemberId [string] $MemberEmailAddress [string] $Message [VSJson] $Metadata [UpdatePolicy] $UpdatePolicy [string] $Condition hidden [void] _addAccessors() { $this._addBaseAccessors() $this | Add-Member -Force -MemberType ScriptProperty -Name GraphArn -Value { $this.Properties['GraphArn'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['GraphArn'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name MemberId -Value { $this.Properties['MemberId'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['MemberId'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name MemberEmailAddress -Value { $this.Properties['MemberEmailAddress'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['MemberEmailAddress'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Message -Value { $this.Properties['Message'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['Message'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Condition -Value { $this._condition } -SecondValue { param( [ValidateType(([string], [IntrinsicFunction], [ConditionFunction]))] [object] $value ) $this._condition = $value } } DetectiveMemberInvitation() : base() {} DetectiveMemberInvitation([IDictionary] $props) : base($props) {} DetectiveMemberInvitation([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'DetectiveGraph'" class DetectiveGraph : VSResource { hidden [string] $_vsFunctionName = 'New-VSDetectiveGraph' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-detective-graph.html' hidden [string[]] $_attributes = @('Arn') hidden [object] $_condition [string] $Type = 'AWS::Detective::Graph' [VSJson] $Metadata [UpdatePolicy] $UpdatePolicy [string] $Condition hidden [void] _addAccessors() { $this._addBaseAccessors() $this | Add-Member -Force -MemberType ScriptProperty -Name Condition -Value { $this._condition } -SecondValue { param( [ValidateType(([string], [IntrinsicFunction], [ConditionFunction]))] [object] $value ) $this._condition = $value } } DetectiveGraph() : base() {} DetectiveGraph([IDictionary] $props) : base($props) {} DetectiveGraph([psobject] $props) : base($props) {} } |