Interface CfnMember.VotingPolicyProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnMember.VotingPolicyProperty.Jsii$Proxy
- Enclosing class:
CfnMember
@Stability(Stable)
public static interface CfnMember.VotingPolicyProperty
extends software.amazon.jsii.JsiiSerializable
The voting rules for the network to decide if a proposal is accepted.
Applies only to Hyperledger Fabric.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.managedblockchain.*;
VotingPolicyProperty votingPolicyProperty = VotingPolicyProperty.builder()
.approvalThresholdPolicy(ApprovalThresholdPolicyProperty.builder()
.proposalDurationInHours(123)
.thresholdComparator("thresholdComparator")
.thresholdPercentage(123)
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnMember.VotingPolicyPropertystatic final classAn implementation forCfnMember.VotingPolicyProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApprovalThresholdPolicy
Defines the rules for the network for voting on proposals, such as the percentage ofYESvotes required for the proposal to be approved and the duration of the proposal.The policy applies to all proposals and is specified when the network is created.
Returns union: either
IResolvableorCfnMember.ApprovalThresholdPolicyProperty- See Also:
-
builder
-