VaporShell.ManagedBlockchain.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 'ManagedBlockchainMemberNetworkFabricConfiguration'" class ManagedBlockchainMemberNetworkFabricConfiguration : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSManagedBlockchainMemberNetworkFabricConfiguration' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-managedblockchain-member-networkfabricconfiguration.html' hidden [object] $_edition [string] $Edition hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name Edition -Value { $this._edition } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._edition = if ($value -is [int]) { $value.ToString() } else { $value } } } ManagedBlockchainMemberNetworkFabricConfiguration() : base() {} ManagedBlockchainMemberNetworkFabricConfiguration([IDictionary] $props) : base($props) {} ManagedBlockchainMemberNetworkFabricConfiguration([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'ManagedBlockchainMemberMemberFrameworkConfiguration'" class ManagedBlockchainMemberMemberFrameworkConfiguration : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSManagedBlockchainMemberMemberFrameworkConfiguration' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-managedblockchain-member-memberframeworkconfiguration.html' hidden [object] $_memberFabricConfiguration [ManagedBlockchainMemberMemberFabricConfiguration] $MemberFabricConfiguration hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name MemberFabricConfiguration -Value { $this._memberFabricConfiguration } -SecondValue { param([ValidateType(([ManagedBlockchainMemberMemberFabricConfiguration], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._memberFabricConfiguration = $value } } ManagedBlockchainMemberMemberFrameworkConfiguration() : base() {} ManagedBlockchainMemberMemberFrameworkConfiguration([IDictionary] $props) : base($props) {} ManagedBlockchainMemberMemberFrameworkConfiguration([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'ManagedBlockchainMemberVotingPolicy'" class ManagedBlockchainMemberVotingPolicy : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSManagedBlockchainMemberVotingPolicy' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-managedblockchain-member-votingpolicy.html' hidden [object] $_approvalThresholdPolicy [ManagedBlockchainMemberApprovalThresholdPolicy] $ApprovalThresholdPolicy hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name ApprovalThresholdPolicy -Value { $this._approvalThresholdPolicy } -SecondValue { param([ValidateType(([ManagedBlockchainMemberApprovalThresholdPolicy], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._approvalThresholdPolicy = $value } } ManagedBlockchainMemberVotingPolicy() : base() {} ManagedBlockchainMemberVotingPolicy([IDictionary] $props) : base($props) {} ManagedBlockchainMemberVotingPolicy([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'ManagedBlockchainMemberMemberFabricConfiguration'" class ManagedBlockchainMemberMemberFabricConfiguration : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSManagedBlockchainMemberMemberFabricConfiguration' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-managedblockchain-member-memberfabricconfiguration.html' hidden [object] $_adminUsername hidden [object] $_adminPassword [string] $AdminUsername [string] $AdminPassword hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name AdminUsername -Value { $this._adminUsername } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._adminUsername = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name AdminPassword -Value { $this._adminPassword } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._adminPassword = if ($value -is [int]) { $value.ToString() } else { $value } } } ManagedBlockchainMemberMemberFabricConfiguration() : base() {} ManagedBlockchainMemberMemberFabricConfiguration([IDictionary] $props) : base($props) {} ManagedBlockchainMemberMemberFabricConfiguration([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'ManagedBlockchainNodeNodeConfiguration'" class ManagedBlockchainNodeNodeConfiguration : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSManagedBlockchainNodeNodeConfiguration' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-managedblockchain-node-nodeconfiguration.html' hidden [object] $_availabilityZone hidden [object] $_instanceType [string] $AvailabilityZone [string] $InstanceType hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name AvailabilityZone -Value { $this._availabilityZone } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._availabilityZone = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name InstanceType -Value { $this._instanceType } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._instanceType = if ($value -is [int]) { $value.ToString() } else { $value } } } ManagedBlockchainNodeNodeConfiguration() : base() {} ManagedBlockchainNodeNodeConfiguration([IDictionary] $props) : base($props) {} ManagedBlockchainNodeNodeConfiguration([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'ManagedBlockchainMemberNetworkFrameworkConfiguration'" class ManagedBlockchainMemberNetworkFrameworkConfiguration : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSManagedBlockchainMemberNetworkFrameworkConfiguration' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-managedblockchain-member-networkframeworkconfiguration.html' hidden [object] $_networkFabricConfiguration [ManagedBlockchainMemberNetworkFabricConfiguration] $NetworkFabricConfiguration hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name NetworkFabricConfiguration -Value { $this._networkFabricConfiguration } -SecondValue { param([ValidateType(([ManagedBlockchainMemberNetworkFabricConfiguration], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._networkFabricConfiguration = $value } } ManagedBlockchainMemberNetworkFrameworkConfiguration() : base() {} ManagedBlockchainMemberNetworkFrameworkConfiguration([IDictionary] $props) : base($props) {} ManagedBlockchainMemberNetworkFrameworkConfiguration([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'ManagedBlockchainMemberNetworkConfiguration'" class ManagedBlockchainMemberNetworkConfiguration : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSManagedBlockchainMemberNetworkConfiguration' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-managedblockchain-member-networkconfiguration.html' hidden [object] $_description hidden [object] $_frameworkVersion hidden [object] $_votingPolicy hidden [object] $_framework hidden [object] $_name hidden [object] $_networkFrameworkConfiguration [string] $Description [string] $FrameworkVersion [ManagedBlockchainMemberVotingPolicy] $VotingPolicy [string] $Framework [string] $Name [ManagedBlockchainMemberNetworkFrameworkConfiguration] $NetworkFrameworkConfiguration hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name Description -Value { $this._description } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._description = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name FrameworkVersion -Value { $this._frameworkVersion } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._frameworkVersion = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name VotingPolicy -Value { $this._votingPolicy } -SecondValue { param([ValidateType(([ManagedBlockchainMemberVotingPolicy], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._votingPolicy = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name Framework -Value { $this._framework } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._framework = 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 } } $this | Add-Member -Force -MemberType ScriptProperty -Name NetworkFrameworkConfiguration -Value { $this._networkFrameworkConfiguration } -SecondValue { param([ValidateType(([ManagedBlockchainMemberNetworkFrameworkConfiguration], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._networkFrameworkConfiguration = $value } } ManagedBlockchainMemberNetworkConfiguration() : base() {} ManagedBlockchainMemberNetworkConfiguration([IDictionary] $props) : base($props) {} ManagedBlockchainMemberNetworkConfiguration([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'ManagedBlockchainMemberMemberConfiguration'" class ManagedBlockchainMemberMemberConfiguration : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSManagedBlockchainMemberMemberConfiguration' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-managedblockchain-member-memberconfiguration.html' hidden [object] $_description hidden [object] $_memberFrameworkConfiguration hidden [object] $_name [string] $Description [ManagedBlockchainMemberMemberFrameworkConfiguration] $MemberFrameworkConfiguration [string] $Name hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name Description -Value { $this._description } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._description = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name MemberFrameworkConfiguration -Value { $this._memberFrameworkConfiguration } -SecondValue { param([ValidateType(([ManagedBlockchainMemberMemberFrameworkConfiguration], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._memberFrameworkConfiguration = $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 } } } ManagedBlockchainMemberMemberConfiguration() : base() {} ManagedBlockchainMemberMemberConfiguration([IDictionary] $props) : base($props) {} ManagedBlockchainMemberMemberConfiguration([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'ManagedBlockchainMemberApprovalThresholdPolicy'" class ManagedBlockchainMemberApprovalThresholdPolicy : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSManagedBlockchainMemberApprovalThresholdPolicy' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-managedblockchain-member-approvalthresholdpolicy.html' hidden [object] $_thresholdComparator hidden [object] $_thresholdPercentage hidden [object] $_proposalDurationInHours [string] $ThresholdComparator [int] $ThresholdPercentage [int] $ProposalDurationInHours hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name ThresholdComparator -Value { $this._thresholdComparator } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._thresholdComparator = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name ThresholdPercentage -Value { $this._thresholdPercentage } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._thresholdPercentage = if ($cast = $value -as [int]) { $cast } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name ProposalDurationInHours -Value { $this._proposalDurationInHours } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._proposalDurationInHours = if ($cast = $value -as [int]) { $cast } else { $value } } } ManagedBlockchainMemberApprovalThresholdPolicy() : base() {} ManagedBlockchainMemberApprovalThresholdPolicy([IDictionary] $props) : base($props) {} ManagedBlockchainMemberApprovalThresholdPolicy([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'ManagedBlockchainMember'" class ManagedBlockchainMember : VSResource { hidden [string] $_vsFunctionName = 'New-VSManagedBlockchainMember' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-managedblockchain-member.html' hidden [string[]] $_attributes = @('MemberId','NetworkId') hidden [object] $_condition [string] $Type = 'AWS::ManagedBlockchain::Member' [ManagedBlockchainMemberMemberConfiguration] $MemberConfiguration [ManagedBlockchainMemberNetworkConfiguration] $NetworkConfiguration [string] $NetworkId [string] $InvitationId [VSJson] $Metadata [UpdatePolicy] $UpdatePolicy [string] $Condition hidden [void] _addAccessors() { $this._addBaseAccessors() $this | Add-Member -Force -MemberType ScriptProperty -Name MemberConfiguration -Value { $this.Properties['MemberConfiguration'] } -SecondValue { param([ValidateType(([ManagedBlockchainMemberMemberConfiguration], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['MemberConfiguration'] = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name NetworkConfiguration -Value { $this.Properties['NetworkConfiguration'] } -SecondValue { param([ValidateType(([ManagedBlockchainMemberNetworkConfiguration], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['NetworkConfiguration'] = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name NetworkId -Value { $this.Properties['NetworkId'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['NetworkId'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name InvitationId -Value { $this.Properties['InvitationId'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['InvitationId'] = 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 } } ManagedBlockchainMember() : base() {} ManagedBlockchainMember([IDictionary] $props) : base($props) {} ManagedBlockchainMember([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'ManagedBlockchainNode'" class ManagedBlockchainNode : VSResource { hidden [string] $_vsFunctionName = 'New-VSManagedBlockchainNode' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-managedblockchain-node.html' hidden [string[]] $_attributes = @('MemberId','NodeId','Arn','NetworkId') hidden [object] $_condition [string] $Type = 'AWS::ManagedBlockchain::Node' [string] $MemberId [string] $NetworkId [ManagedBlockchainNodeNodeConfiguration] $NodeConfiguration [VSJson] $Metadata [UpdatePolicy] $UpdatePolicy [string] $Condition hidden [void] _addAccessors() { $this._addBaseAccessors() $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 NetworkId -Value { $this.Properties['NetworkId'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['NetworkId'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name NodeConfiguration -Value { $this.Properties['NodeConfiguration'] } -SecondValue { param([ValidateType(([ManagedBlockchainNodeNodeConfiguration], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['NodeConfiguration'] = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name Condition -Value { $this._condition } -SecondValue { param( [ValidateType(([string], [IntrinsicFunction], [ConditionFunction]))] [object] $value ) $this._condition = $value } } ManagedBlockchainNode() : base() {} ManagedBlockchainNode([IDictionary] $props) : base($props) {} ManagedBlockchainNode([psobject] $props) : base($props) {} } |