VaporShell.AuditManager.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 'AuditManagerAssessmentAWSAccount'" class AuditManagerAssessmentAWSAccount : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSAuditManagerAssessmentAWSAccount' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-auditmanager-assessment-awsaccount.html' hidden [object] $_id hidden [object] $_emailAddress hidden [object] $_name [string] $Id [string] $EmailAddress [string] $Name hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name Id -Value { $this._id } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._id = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name EmailAddress -Value { $this._emailAddress } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._emailAddress = if ($value -is [int]) { $value.ToString() } else { $value } } $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 } } } AuditManagerAssessmentAWSAccount() : base() {} AuditManagerAssessmentAWSAccount([IDictionary] $props) : base($props) {} AuditManagerAssessmentAWSAccount([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'AuditManagerAssessmentDelegation'" class AuditManagerAssessmentDelegation : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSAuditManagerAssessmentDelegation' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-auditmanager-assessment-delegation.html' hidden [object] $_lastUpdated hidden [object] $_controlSetId hidden [object] $_creationTime hidden [object] $_createdBy hidden [object] $_roleArn hidden [object] $_assessmentName hidden [object] $_comment hidden [object] $_id hidden [object] $_roleType hidden [object] $_assessmentId hidden [object] $_status [double] $LastUpdated [string] $ControlSetId [double] $CreationTime [string] $CreatedBy [string] $RoleArn [string] $AssessmentName [string] $Comment [string] $Id [string] $RoleType [string] $AssessmentId [string] $Status hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name LastUpdated -Value { $this._lastUpdated } -SecondValue { param([ValidateType(([double], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._lastUpdated = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name ControlSetId -Value { $this._controlSetId } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._controlSetId = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name CreationTime -Value { $this._creationTime } -SecondValue { param([ValidateType(([double], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._creationTime = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name CreatedBy -Value { $this._createdBy } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._createdBy = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name RoleArn -Value { $this._roleArn } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._roleArn = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name AssessmentName -Value { $this._assessmentName } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._assessmentName = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Comment -Value { $this._comment } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._comment = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Id -Value { $this._id } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._id = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name RoleType -Value { $this._roleType } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._roleType = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name AssessmentId -Value { $this._assessmentId } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._assessmentId = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Status -Value { $this._status } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._status = if ($value -is [int]) { $value.ToString() } else { $value } } } AuditManagerAssessmentDelegation() : base() {} AuditManagerAssessmentDelegation([IDictionary] $props) : base($props) {} AuditManagerAssessmentDelegation([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'AuditManagerAssessmentRole'" class AuditManagerAssessmentRole : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSAuditManagerAssessmentRole' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-auditmanager-assessment-role.html' hidden [object] $_roleArn hidden [object] $_roleType [string] $RoleArn [string] $RoleType hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name RoleArn -Value { $this._roleArn } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._roleArn = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name RoleType -Value { $this._roleType } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._roleType = if ($value -is [int]) { $value.ToString() } else { $value } } } AuditManagerAssessmentRole() : base() {} AuditManagerAssessmentRole([IDictionary] $props) : base($props) {} AuditManagerAssessmentRole([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'AuditManagerAssessmentAssessmentReportsDestination'" class AuditManagerAssessmentAssessmentReportsDestination : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSAuditManagerAssessmentAssessmentReportsDestination' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-auditmanager-assessment-assessmentreportsdestination.html' hidden [object] $_destination hidden [object] $_destinationType [string] $Destination [string] $DestinationType hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name Destination -Value { $this._destination } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._destination = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name DestinationType -Value { $this._destinationType } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._destinationType = if ($value -is [int]) { $value.ToString() } else { $value } } } AuditManagerAssessmentAssessmentReportsDestination() : base() {} AuditManagerAssessmentAssessmentReportsDestination([IDictionary] $props) : base($props) {} AuditManagerAssessmentAssessmentReportsDestination([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'AuditManagerAssessmentAWSService'" class AuditManagerAssessmentAWSService : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSAuditManagerAssessmentAWSService' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-auditmanager-assessment-awsservice.html' hidden [object] $_serviceName [string] $ServiceName hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name ServiceName -Value { $this._serviceName } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._serviceName = if ($value -is [int]) { $value.ToString() } else { $value } } } AuditManagerAssessmentAWSService() : base() {} AuditManagerAssessmentAWSService([IDictionary] $props) : base($props) {} AuditManagerAssessmentAWSService([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'AuditManagerAssessmentScope'" class AuditManagerAssessmentScope : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSAuditManagerAssessmentScope' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-auditmanager-assessment-scope.html' hidden [object] $_awsAccounts hidden [object] $_awsServices [AuditManagerAssessmentAWSAccount[]] $AwsAccounts [AuditManagerAssessmentAWSService[]] $AwsServices hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name AwsAccounts -Value { $this._awsAccounts } -SecondValue { param([ValidateType(([AuditManagerAssessmentAWSAccount], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value) $this._awsAccounts = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name AwsServices -Value { $this._awsServices } -SecondValue { param([ValidateType(([AuditManagerAssessmentAWSService], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value) $this._awsServices = $value } } AuditManagerAssessmentScope() : base() {} AuditManagerAssessmentScope([IDictionary] $props) : base($props) {} AuditManagerAssessmentScope([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'AuditManagerAssessment'" class AuditManagerAssessment : VSResource { hidden [string] $_vsFunctionName = 'New-VSAuditManagerAssessment' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-auditmanager-assessment.html' hidden [string[]] $_attributes = @('AssessmentId','Arn','Delegations','CreationTime') hidden [object] $_condition [string] $Type = 'AWS::AuditManager::Assessment' [string] $FrameworkId [AuditManagerAssessmentAWSAccount] $AwsAccount [VSTag[]] $Tags [AuditManagerAssessmentRole[]] $Roles [AuditManagerAssessmentScope] $Scope [AuditManagerAssessmentAssessmentReportsDestination] $AssessmentReportsDestination [string] $Status [string] $Name [string] $Description [VSJson] $Metadata [UpdatePolicy] $UpdatePolicy [string] $Condition hidden [void] _addAccessors() { $this._addBaseAccessors() $this | Add-Member -Force -MemberType ScriptProperty -Name FrameworkId -Value { $this.Properties['FrameworkId'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['FrameworkId'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name AwsAccount -Value { $this.Properties['AwsAccount'] } -SecondValue { param([ValidateType(([AuditManagerAssessmentAWSAccount], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['AwsAccount'] = $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 Roles -Value { $this.Properties['Roles'] } -SecondValue { param([ValidateType(([AuditManagerAssessmentRole], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value) $this.Properties['Roles'] = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name Scope -Value { $this.Properties['Scope'] } -SecondValue { param([ValidateType(([AuditManagerAssessmentScope], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['Scope'] = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name AssessmentReportsDestination -Value { $this.Properties['AssessmentReportsDestination'] } -SecondValue { param([ValidateType(([AuditManagerAssessmentAssessmentReportsDestination], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['AssessmentReportsDestination'] = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name Status -Value { $this.Properties['Status'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['Status'] = if ($value -is [int]) { $value.ToString() } else { $value } } $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 Condition -Value { $this._condition } -SecondValue { param( [ValidateType(([string], [IntrinsicFunction], [ConditionFunction]))] [object] $value ) $this._condition = $value } } AuditManagerAssessment() : base() {} AuditManagerAssessment([IDictionary] $props) : base($props) {} AuditManagerAssessment([psobject] $props) : base($props) {} } |