class Aws::ManagedBlockchain::Types::Proposal

Properties of a proposal on a Managed Blockchain network.

Applies only to Hyperledger Fabric.

@!attribute [rw] proposal_id

The unique identifier of the proposal.
@return [String]

@!attribute [rw] network_id

The unique identifier of the network for which the proposal is made.
@return [String]

@!attribute [rw] description

The description of the proposal.
@return [String]

@!attribute [rw] actions

The actions to perform on the network if the proposal is `APPROVED`.
@return [Types::ProposalActions]

@!attribute [rw] proposed_by_member_id

The unique identifier of the member that created the proposal.
@return [String]

@!attribute [rw] proposed_by_member_name

The name of the member that created the proposal.
@return [String]

@!attribute [rw] status

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.
@return [String]

@!attribute [rw] creation_date

The date and time that the proposal was created.
@return [Time]

@!attribute [rw] expiration_date

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.
@return [Time]

@!attribute [rw] yes_vote_count

The current total of `YES` votes cast on the proposal by members.
@return [Integer]

@!attribute [rw] no_vote_count

The current total of `NO` votes cast on the proposal by members.
@return [Integer]

@!attribute [rw] outstanding_vote_count

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.
@return [Integer]

@!attribute [rw] tags

Tags assigned to the proposal. Each tag consists of a key and
optional value.

For more information about tags, see [Tagging Resources][1] in the
*Amazon Managed Blockchain Ethereum Developer Guide*, or [Tagging
Resources][2] in the *Amazon Managed Blockchain Hyperledger Fabric
Developer Guide*.

[1]: https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html
[2]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
@return [Hash<String,String>]

@!attribute [rw] arn

The Amazon Resource Name (ARN) of the proposal. For more information
about ARNs and their format, see [Amazon Resource Names (ARNs)][1]
in the *AWS General Reference*.

[1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/Proposal AWS API Documentation

Constants

SENSITIVE