AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.



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