CfnNodeProps

class aws_cdk.aws_managedblockchain.CfnNodeProps(*, network_id, node_configuration, member_id=None)

Bases: object

Properties for defining a CfnNode.

Parameters:
  • network_id (str) – 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

  • node_configuration (Union[IResolvable, NodeConfigurationProperty, Dict[str, Any]]) – Configuration properties of a peer node.

  • member_id (Optional[str]) – The unique identifier of the member to which the node belongs. Applies only to Hyperledger Fabric.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-managedblockchain-node.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_managedblockchain as managedblockchain

cfn_node_props = managedblockchain.CfnNodeProps(
    network_id="networkId",
    node_configuration=managedblockchain.CfnNode.NodeConfigurationProperty(
        availability_zone="availabilityZone",
        instance_type="instanceType"
    ),

    # the properties below are optional
    member_id="memberId"
)

Attributes

member_id

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

Applies only to Hyperledger Fabric.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-managedblockchain-node.html#cfn-managedblockchain-node-memberid

network_id

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

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-managedblockchain-node.html#cfn-managedblockchain-node-networkid

node_configuration

Configuration properties of a peer node.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-managedblockchain-node.html#cfn-managedblockchain-node-nodeconfiguration