aws-cdk-lib.aws_managedblockchain.CfnNodeProps

interface CfnNodeProps

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

Properties for defining a CfnNode.

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 cfnNodeProps: managedblockchain.CfnNodeProps = {
  networkId: 'networkId',
  nodeConfiguration: {
    availabilityZone: 'availabilityZone',
    instanceType: 'instanceType',
  },

  // the properties below are optional
  memberId: 'memberId',
};

Properties

NameTypeDescription
networkIdstringThe unique identifier of the network for the node.
nodeConfigurationIResolvable | NodeConfigurationPropertyConfiguration properties of a peer node.
memberId?stringThe unique identifier of the member to which the node belongs.

networkId

Type: string

The unique identifier of the network for the node.

Ethereum public networks have the following NetworkId s:

  • n-ethereum-mainnet
  • n-ethereum-goerli
  • n-ethereum-rinkeby

nodeConfiguration

Type: IResolvable | NodeConfigurationProperty

Configuration properties of a peer node.


memberId?

Type: string (optional)

The unique identifier of the member to which the node belongs.

Applies only to Hyperledger Fabric.