aws-cdk-lib.aws_managedblockchain.CfnMember.VotingPolicyProperty

interface VotingPolicyProperty

LanguageType name
.NETAmazon.CDK.AWS.ManagedBlockchain.CfnMember.VotingPolicyProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsmanagedblockchain#CfnMember_VotingPolicyProperty
Javasoftware.amazon.awscdk.services.managedblockchain.CfnMember.VotingPolicyProperty
Pythonaws_cdk.aws_managedblockchain.CfnMember.VotingPolicyProperty
TypeScript aws-cdk-lib » aws_managedblockchain » CfnMember » VotingPolicyProperty

The voting rules for the network to decide if a proposal is accepted.

Applies only to Hyperledger Fabric.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_managedblockchain as managedblockchain } from 'aws-cdk-lib';
const votingPolicyProperty: managedblockchain.CfnMember.VotingPolicyProperty = {
  approvalThresholdPolicy: {
    proposalDurationInHours: 123,
    thresholdComparator: 'thresholdComparator',
    thresholdPercentage: 123,
  },
};

Properties

NameTypeDescription
approvalThresholdPolicy?IResolvable | ApprovalThresholdPolicyPropertyDefines 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.

approvalThresholdPolicy?

Type: IResolvable | ApprovalThresholdPolicyProperty (optional)

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.