VaporShell.Signer.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 'SignerSigningProfileSignatureValidityPeriod'" class SignerSigningProfileSignatureValidityPeriod : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSSignerSigningProfileSignatureValidityPeriod' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-signer-signingprofile-signaturevalidityperiod.html' hidden [object] $_value hidden [object] $_type [int] $Value [string] $Type hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name Value -Value { $this._value } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._value = if ($cast = $value -as [int]) { $cast } else { $value } } $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 } } } SignerSigningProfileSignatureValidityPeriod() : base() {} SignerSigningProfileSignatureValidityPeriod([IDictionary] $props) : base($props) {} SignerSigningProfileSignatureValidityPeriod([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'SignerSigningProfile'" class SignerSigningProfile : VSResource { hidden [string] $_vsFunctionName = 'New-VSSignerSigningProfile' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-signer-signingprofile.html' hidden [string[]] $_attributes = @('ProfileName','ProfileVersion','Arn','ProfileVersionArn') hidden [object] $_condition [string] $Type = 'AWS::Signer::SigningProfile' [SignerSigningProfileSignatureValidityPeriod] $SignatureValidityPeriod [string] $PlatformId [VSTag[]] $Tags [VSJson] $Metadata [UpdatePolicy] $UpdatePolicy [string] $Condition hidden [void] _addAccessors() { $this._addBaseAccessors() $this | Add-Member -Force -MemberType ScriptProperty -Name SignatureValidityPeriod -Value { $this.Properties['SignatureValidityPeriod'] } -SecondValue { param([ValidateType(([SignerSigningProfileSignatureValidityPeriod], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['SignatureValidityPeriod'] = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name PlatformId -Value { $this.Properties['PlatformId'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['PlatformId'] = 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 } } SignerSigningProfile() : base() {} SignerSigningProfile([IDictionary] $props) : base($props) {} SignerSigningProfile([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'SignerProfilePermission'" class SignerProfilePermission : VSResource { hidden [string] $_vsFunctionName = 'New-VSSignerProfilePermission' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-signer-profilepermission.html' hidden [object] $_condition [string] $Type = 'AWS::Signer::ProfilePermission' [string] $ProfileName [string] $ProfileVersion [string] $Action [string] $Principal [string] $StatementId [VSJson] $Metadata [UpdatePolicy] $UpdatePolicy [string] $Condition hidden [void] _addAccessors() { $this._addBaseAccessors() $this | Add-Member -Force -MemberType ScriptProperty -Name ProfileName -Value { $this.Properties['ProfileName'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['ProfileName'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name ProfileVersion -Value { $this.Properties['ProfileVersion'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['ProfileVersion'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Action -Value { $this.Properties['Action'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['Action'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Principal -Value { $this.Properties['Principal'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['Principal'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name StatementId -Value { $this.Properties['StatementId'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['StatementId'] = 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 } } SignerProfilePermission() : base() {} SignerProfilePermission([IDictionary] $props) : base($props) {} SignerProfilePermission([psobject] $props) : base($props) {} } |