VaporShell.ResourceGroups.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 'ResourceGroupsGroupTagFilter'" class ResourceGroupsGroupTagFilter : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSResourceGroupsGroupTagFilter' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resourcegroups-group-tagfilter.html' hidden [object] $_key hidden [object] $_values [string] $Key [string[]] $Values hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name Key -Value { $this._key } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._key = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Values -Value { $this._values } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value) $this._values = @($value) } } ResourceGroupsGroupTagFilter() : base() {} ResourceGroupsGroupTagFilter([IDictionary] $props) : base($props) {} ResourceGroupsGroupTagFilter([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'ResourceGroupsGroupQuery'" class ResourceGroupsGroupQuery : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSResourceGroupsGroupQuery' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resourcegroups-group-query.html' hidden [object] $_resourceTypeFilters hidden [object] $_stackIdentifier hidden [object] $_tagFilters [string[]] $ResourceTypeFilters [string] $StackIdentifier [ResourceGroupsGroupTagFilter[]] $TagFilters hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name ResourceTypeFilters -Value { $this._resourceTypeFilters } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value) $this._resourceTypeFilters = @($value) } $this | Add-Member -Force -MemberType ScriptProperty -Name StackIdentifier -Value { $this._stackIdentifier } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._stackIdentifier = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name TagFilters -Value { $this._tagFilters } -SecondValue { param([ValidateType(([ResourceGroupsGroupTagFilter], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value) $this._tagFilters = $value } } ResourceGroupsGroupQuery() : base() {} ResourceGroupsGroupQuery([IDictionary] $props) : base($props) {} ResourceGroupsGroupQuery([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'ResourceGroupsGroupResourceQuery'" class ResourceGroupsGroupResourceQuery : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSResourceGroupsGroupResourceQuery' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resourcegroups-group-resourcequery.html' hidden [object] $_type hidden [object] $_query [string] $Type [ResourceGroupsGroupQuery] $Query 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 Query -Value { $this._query } -SecondValue { param([ValidateType(([ResourceGroupsGroupQuery], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._query = $value } } ResourceGroupsGroupResourceQuery() : base() {} ResourceGroupsGroupResourceQuery([IDictionary] $props) : base($props) {} ResourceGroupsGroupResourceQuery([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'ResourceGroupsGroup'" class ResourceGroupsGroup : VSResource { hidden [string] $_vsFunctionName = 'New-VSResourceGroupsGroup' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resourcegroups-group.html' hidden [string[]] $_attributes = @('Arn') hidden [object] $_condition [string] $Type = 'AWS::ResourceGroups::Group' [string] $Name [string] $Description [ResourceGroupsGroupResourceQuery] $ResourceQuery [VSTag[]] $Tags [VSJson] $Metadata [UpdatePolicy] $UpdatePolicy [string] $Condition hidden [void] _addAccessors() { $this._addBaseAccessors() $this | Add-Member -Force -MemberType ScriptProperty -Name Name -Value { $this.Properties['Name'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['Name'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Description -Value { $this.Properties['Description'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['Description'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name ResourceQuery -Value { $this.Properties['ResourceQuery'] } -SecondValue { param([ValidateType(([ResourceGroupsGroupResourceQuery], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['ResourceQuery'] = $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 } } ResourceGroupsGroup() : base() {} ResourceGroupsGroup([IDictionary] $props) : base($props) {} ResourceGroupsGroup([psobject] $props) : base($props) {} } |