Skip to content
v2.277.0

NetworkConfigurationProperty Struct ​

Configuration properties of the network to which the member belongs.

Example ​

ts
// 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 networkConfigurationProperty: managedblockchain.CfnMember.NetworkConfigurationProperty = {
  framework: 'framework',
  frameworkVersion: 'frameworkVersion',
  name: 'name',
  votingPolicy: {
    approvalThresholdPolicy: {
      proposalDurationInHours: 123,
      thresholdComparator: 'thresholdComparator',
      thresholdPercentage: 123,
    },
  },

  // the properties below are optional
  description: 'description',
  networkFrameworkConfiguration: {
    networkFabricConfiguration: {
      edition: 'edition',
    },
  },
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_managedblockchain as managedblockchain

network_configuration_property = managedblockchain.CfnMember.NetworkConfigurationProperty(
    framework="framework",
    framework_version="frameworkVersion",
    name="name",
    voting_policy=managedblockchain.CfnMember.VotingPolicyProperty(
        approval_threshold_policy=managedblockchain.CfnMember.ApprovalThresholdPolicyProperty(
            proposal_duration_in_hours=123,
            threshold_comparator="thresholdComparator",
            threshold_percentage=123
        )
    ),

    # the properties below are optional
    description="description",
    network_framework_configuration=managedblockchain.CfnMember.NetworkFrameworkConfigurationProperty(
        network_fabric_configuration=managedblockchain.CfnMember.NetworkFabricConfigurationProperty(
            edition="edition"
        )
    )
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.managedblockchain.*;

NetworkConfigurationProperty networkConfigurationProperty = NetworkConfigurationProperty.builder()
        .framework("framework")
        .frameworkVersion("frameworkVersion")
        .name("name")
        .votingPolicy(VotingPolicyProperty.builder()
                .approvalThresholdPolicy(ApprovalThresholdPolicyProperty.builder()
                        .proposalDurationInHours(123)
                        .thresholdComparator("thresholdComparator")
                        .thresholdPercentage(123)
                        .build())
                .build())

        // the properties below are optional
        .description("description")
        .networkFrameworkConfiguration(NetworkFrameworkConfigurationProperty.builder()
                .networkFabricConfiguration(NetworkFabricConfigurationProperty.builder()
                        .edition("edition")
                        .build())
                .build())
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ManagedBlockchain;

var networkConfigurationProperty = new NetworkConfigurationProperty {
    Framework = "framework",
    FrameworkVersion = "frameworkVersion",
    Name = "name",
    VotingPolicy = new VotingPolicyProperty {
        ApprovalThresholdPolicy = new ApprovalThresholdPolicyProperty {
            ProposalDurationInHours = 123,
            ThresholdComparator = "thresholdComparator",
            ThresholdPercentage = 123
        }
    },

    // the properties below are optional
    Description = "description",
    NetworkFrameworkConfiguration = new NetworkFrameworkConfigurationProperty {
        NetworkFabricConfiguration = new NetworkFabricConfigurationProperty {
            Edition = "edition"
        }
    }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

networkConfigurationProperty := &NetworkConfigurationProperty{
	Framework: jsii.String("framework"),
	FrameworkVersion: jsii.String("frameworkVersion"),
	Name: jsii.String("name"),
	VotingPolicy: &VotingPolicyProperty{
		ApprovalThresholdPolicy: &ApprovalThresholdPolicyProperty{
			ProposalDurationInHours: jsii.Number(123),
			ThresholdComparator: jsii.String("thresholdComparator"),
			ThresholdPercentage: jsii.Number(123),
		},
	},

	// the properties below are optional
	Description: jsii.String("description"),
	NetworkFrameworkConfiguration: &NetworkFrameworkConfigurationProperty{
		NetworkFabricConfiguration: &NetworkFabricConfigurationProperty{
			Edition: jsii.String("edition"),
		},
	},
}

Properties ​

descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #
Attributes of the blockchain framework for the network.
frameworkstringframeworkstrframeworkStringFrameworkstringFramework*string required #
The blockchain framework that the network uses.
frameworkVersionstringframework_versionstrframeworkVersionStringFrameworkVersionstringFrameworkVersion*string required #
The version of the blockchain framework that the network uses.
namestringnamestrnameStringNamestringName*string required #
The name of the network.
networkFrameworkConfigurationoptionalIResolvable | CfnMember.NetworkFrameworkConfigurationPropertynetwork_framework_configurationoptionaltyping.Union[IResolvable, NetworkFrameworkConfigurationProperty]networkFrameworkConfigurationoptionalIResolvableNetworkFrameworkConfigurationoptionalIResolvableNetworkFrameworkConfigurationoptionalinterface{} #
Configuration properties relevant to the network for the blockchain framework that the network uses.
votingPolicyIResolvable | CfnMember.VotingPolicyPropertyvoting_policytyping.Union[IResolvable, VotingPolicyProperty]votingPolicyIResolvableVotingPolicyIResolvableVotingPolicyinterface{} required #
The voting rules that the network uses to decide if a proposal is accepted.