Proposal
¶
Source code in docs_src/capo_managedblockchain/types/proposal.py
actions
instance-attribute
¶
actions: NotRequired[ProposalActions]
The actions to perform on the network if the proposal is APPROVED.
arn
instance-attribute
¶
arn: NotRequired[ArnString]
The Amazon Resource Name (ARN) of the proposal. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
creation_date
instance-attribute
¶
creation_date: NotRequired[Timestamp]
The date and time that the proposal was created.
description
instance-attribute
¶
description: NotRequired[DescriptionString]
The description of the proposal.
expiration_date
instance-attribute
¶
expiration_date: NotRequired[Timestamp]
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 haven't cast enough votes to determine the outcome according to the voting policy, the proposal is EXPIRED and Actions aren't carried out.
network_id
instance-attribute
¶
network_id: NotRequired[ResourceIdString]
The unique identifier of the network for which the proposal is made.
no_vote_count
instance-attribute
¶
no_vote_count: NotRequired[VoteCount]
The current total of NO votes cast on the proposal by members.
outstanding_vote_count
instance-attribute
¶
outstanding_vote_count: NotRequired[VoteCount]
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.
proposal_id
instance-attribute
¶
proposal_id: NotRequired[ResourceIdString]
The unique identifier of the proposal.
proposed_by_member_id
instance-attribute
¶
proposed_by_member_id: NotRequired[ResourceIdString]
The unique identifier of the member that created the proposal.
proposed_by_member_name
instance-attribute
¶
proposed_by_member_name: NotRequired[NetworkMemberNameString]
The name of the member that created the proposal.
status
instance-attribute
¶
status: NotRequired[ProposalStatus]
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 sufficientYESvotes among members according to theVotingPolicyspecified for theNetwork. The specified proposal actions are carried out. -
REJECTED- The proposal was rejected with insufficientYESvotes among members according to theVotingPolicyspecified for theNetwork. The specifiedProposalActionsaren't carried out. -
EXPIRED- Members didn't cast the number of votes required to determine the proposal outcome before the proposal expired. The specifiedProposalActionsaren't carried out. -
ACTION_FAILED- One or more of the specifiedProposalActionsin a proposal that was approved couldn't be completed because of an error. TheACTION_FAILEDstatus occurs even if only one ProposalAction fails and other actions are successful.
tags
instance-attribute
¶
tags: NotRequired[OutputTagMap]
Tags assigned to the proposal. Each tag consists of a key and optional value.
For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.