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.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::ManagedBlockchain::Types::Proposal

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Properties of a proposal on a Managed Blockchain network.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#actionsTypes::ProposalActions

The actions to perform on the network if the proposal is APPROVED.

Returns:

#creation_dateTime

The date and time that the proposal was created.

Returns:

  • (Time)

    The date and time that the proposal was created.

#descriptionString

The description of the proposal.

Returns:

  • (String)

    The description of the proposal.

#expiration_dateTime

The date and time that the proposal expires. This is the CreationDate plus the ProposalDurationInHours that is specified in the ProposalThresholdPolicy. After this date and time, if members have not cast enough votes to determine the outcome according to the voting policy, the proposal is EXPIRED and Actions are not carried out.

Returns:

  • (Time)

    The date and time that the proposal expires.

#network_idString

The unique identifier of the network for which the proposal is made.

Returns:

  • (String)

    The unique identifier of the network for which the proposal is made.

#no_vote_countInteger

The current total of NO votes cast on the proposal by members.

Returns:

  • (Integer)

    The current total of NO votes cast on the proposal by members.

#outstanding_vote_countInteger

The number of votes remaining to be cast on the proposal by members. In other words, the number of members minus the sum of YES votes and NO votes.

Returns:

  • (Integer)

    The number of votes remaining to be cast on the proposal by members.

#proposal_idString

The unique identifier of the proposal.

Returns:

  • (String)

    The unique identifier of the proposal.

#proposed_by_member_idString

The unique identifier of the member that created the proposal.

Returns:

  • (String)

    The unique identifier of the member that created the proposal.

#proposed_by_member_nameString

The name of the member that created the proposal.

Returns:

  • (String)

    The name of the member that created the proposal.

#statusString

The status of the proposal. Values are as follows:

  • IN_PROGRESS - The proposal is active and open for member voting.

  • APPROVED - The proposal was approved with sufficient YES votes among members according to the VotingPolicy specified for the Network. The specified proposal actions are carried out.

  • REJECTED - The proposal was rejected with insufficient YES votes among members according to the VotingPolicy specified for the Network. The specified ProposalActions are not carried out.

  • EXPIRED - Members did not cast the number of votes required to determine the proposal outcome before the proposal expired. The specified ProposalActions are not carried out.

  • ACTION_FAILED - One or more of the specified ProposalActions in a proposal that was approved could not be completed because of an error. The ACTION_FAILED status occurs even if only one ProposalAction fails and other actions are successful.

    Possible values:

    • IN_PROGRESS
    • APPROVED
    • REJECTED
    • EXPIRED
    • ACTION_FAILED

Returns:

  • (String)

    The status of the proposal.

#yes_vote_countInteger

The current total of YES votes cast on the proposal by members.

Returns:

  • (Integer)

    The current total of YES votes cast on the proposal by members.