Show / Hide Table of Contents

Class CfnMember.VotingPolicyProperty

The voting rules for the network to decide if a proposal is accepted.

Inheritance
System.Object
CfnMember.VotingPolicyProperty
Implements
CfnMember.IVotingPolicyProperty
Namespace: Amazon.CDK.AWS.ManagedBlockchain
Assembly: Amazon.CDK.AWS.ManagedBlockchain.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.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-managedblockchain-member-votingpolicy.html

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 YES votes required for the proposal to be approved and the duration of the proposal.

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.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-managedblockchain-member-votingpolicy.html#cfn-managedblockchain-member-votingpolicy-approvalthresholdpolicy

Implements

CfnMember.IVotingPolicyProperty
Back to top Generated by DocFX