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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnMember.VotingPolicyProperty
static final class
An 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 ofYES
votes 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.
-
builder
-