Interface CfnMemberPropsMixin.VotingPolicyProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnMemberPropsMixin.VotingPolicyProperty.Jsii$Proxy
- Enclosing class:
CfnMemberPropsMixin
@Stability(Stable)
public static interface CfnMemberPropsMixin.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.cfnpropertymixins.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 forCfnMemberPropsMixin.VotingPolicyPropertystatic final classAn implementation forCfnMemberPropsMixin.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
IResolvableorCfnMemberPropsMixin.ApprovalThresholdPolicyProperty- See Also:
-
builder
-