Class CfnMember.VotingPolicyProperty
The voting rules for the network to decide if a proposal is accepted.
Inheritance
System.Object
CfnMember.VotingPolicyProperty
Implements
Namespace: Amazon.CDK.AWS.ManagedBlockchain
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class VotingPolicyProperty : Object, CfnMember.IVotingPolicyProperty
Syntax (vb)
Public Class VotingPolicyProperty
Inherits Object
Implements CfnMember.IVotingPolicyProperty
Remarks
Applies only to Hyperledger Fabric.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ManagedBlockchain;
var votingPolicyProperty = new VotingPolicyProperty {
ApprovalThresholdPolicy = new ApprovalThresholdPolicyProperty {
ProposalDurationInHours = 123,
ThresholdComparator = "thresholdComparator",
ThresholdPercentage = 123
}
};
Synopsis
Constructors
VotingPolicyProperty() |
Properties
ApprovalThresholdPolicy | Defines the rules for the network for voting on proposals, such as the percentage of |
Constructors
VotingPolicyProperty()
public VotingPolicyProperty()
Properties
ApprovalThresholdPolicy
Defines the rules for the network for voting on proposals, such as the percentage of YES
votes required for the proposal to be approved and the duration of the proposal.
public object ApprovalThresholdPolicy { get; set; }
Property Value
System.Object
Remarks
The policy applies to all proposals and is specified when the network is created.