Skip to content
v2.275.0

CfnNodeProps Struct ​

Properties for defining a CfnNode.

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

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

Properties ​

memberIdoptionalstringmember_idoptionalstrmemberIdoptionalStringMemberIdoptionalstringMemberIdoptional*string#
The unique identifier of the member to which the node belongs.

Applies only to Hyperledger Fabric.

networkIdstringnetwork_idstrnetworkIdStringNetworkIdstringNetworkId*stringrequired#
The unique identifier of the network for the node.

Ethereum public networks have the following NetworkId s:

  • n-ethereum-mainnet
nodeConfigurationIResolvable | CfnNode.NodeConfigurationPropertynode_configurationtyping.Union[IResolvable, NodeConfigurationProperty]nodeConfigurationIResolvableNodeConfigurationIResolvableNodeConfigurationinterface{}required#
Configuration properties of a peer node.