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
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.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# 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 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
- node_configuration
Configuration properties of a peer node.