# NetworkConfigurationProperty

Configuration properties of the network to which the member belongs.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
        }
    }
};
```

Golang:

```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

- `description`: string — Attributes of the blockchain framework for the network.

- `framework`: string (required) — The blockchain framework that the network uses.

- `frameworkVersion`: string (required) — The version of the blockchain framework that the network uses.

- `name`: string (required) — The name of the network.

- `networkFrameworkConfiguration`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnMember.NetworkFrameworkConfigurationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_managedblockchain.CfnMember.NetworkFrameworkConfigurationProperty.html) — Configuration properties relevant to the network for the blockchain framework that the network uses.

- `votingPolicy`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnMember.VotingPolicyProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_managedblockchain.CfnMember.VotingPolicyProperty.html) (required) — The voting rules that the network uses to decide if a proposal is accepted.
