You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::ManagedBlockchain::Types::VotingPolicy
- Inherits:
-
Struct
- Object
- Struct
- Aws::ManagedBlockchain::Types::VotingPolicy
- Defined in:
- (unknown)
Overview
Note:
When passing VotingPolicy as input to an Aws::Client method, you can use a vanilla 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
Returned by:
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.