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 followingNetworkId
s: -n-ethereum-mainnet
-n-ethereum-rinkeby
-n-ethereum-ropsten
node_configuration (
Union
[IResolvable
,NodeConfigurationProperty
]) – 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
- 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.
-
network_id
¶ The unique identifier of the network for the node.
Ethereum public networks have the following
NetworkId
s:n-ethereum-mainnet
n-ethereum-rinkeby
n-ethereum-ropsten
-
node_configuration
¶ Configuration properties of a peer node.