Class: Aws::ManagedBlockchain::Types::VotingPolicy

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#approval_threshold_policyTypes::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.



2962
2963
2964
2965
2966
# File 'gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/types.rb', line 2962

class VotingPolicy < Struct.new(
  :approval_threshold_policy)
  SENSITIVE = []
  include Aws::Structure
end