Interface CfnNodeProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnNodeProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:59.880Z")
@Stability(Stable)
public interface CfnNodeProps
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.managedblockchain.*;
CfnNodeProps cfnNodeProps = CfnNodeProps.builder()
.networkId("networkId")
.nodeConfiguration(NodeConfigurationProperty.builder()
.availabilityZone("availabilityZone")
.instanceType("instanceType")
.build())
// the properties below are optional
.memberId("memberId")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnNodePropsstatic final classAn implementation forCfnNodeProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnNodeProps.Builderbuilder()default StringThe unique identifier of the member to which the node belongs.The unique identifier of the network for the node.Configuration properties of a peer node.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getNetworkId
The unique identifier of the network for the node.Ethereum public networks have the following
NetworkIds:n-ethereum-mainnetn-ethereum-goerlin-ethereum-rinkeby
-
getNodeConfiguration
Configuration properties of a peer node. -
getMemberId
The unique identifier of the member to which the node belongs.Applies only to Hyperledger Fabric.
-
builder
- Returns:
- a
CfnNodeProps.BuilderofCfnNodeProps
-