Class: Aws::ManagedBlockchain::Types::VotingPolicy
- Inherits:
-
Struct
- Object
- Struct
- Aws::ManagedBlockchain::Types::VotingPolicy
- Defined in:
- gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/types.rb
Overview
Note:
When making an API call, you may pass VotingPolicy data as a hash:
{
approval_threshold_policy: {
threshold_percentage: 1,
proposal_duration_in_hours: 1,
threshold_comparator: "GREATER_THAN", # accepts GREATER_THAN, GREATER_THAN_OR_EQUAL_TO
},
}
The voting rules for the network to decide if a proposal is accepted
Applies only to Hyperledger Fabric.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#approval_threshold_policy ⇒ Types::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.
Instance Attribute Details
#approval_threshold_policy ⇒ Types::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. The policy applies to all
proposals and is specified when the network is created.
3065 3066 3067 3068 3069 |
# File 'gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/types.rb', line 3065 class VotingPolicy < Struct.new( :approval_threshold_policy) SENSITIVE = [] include Aws::Structure end |