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();
 
  • Method Details

    • getNetworkId

      @Stability(Stable) @NotNull String getNetworkId()
      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
    • getNodeConfiguration

      @Stability(Stable) @NotNull Object getNodeConfiguration()
      Configuration properties of a peer node.
    • getMemberId

      @Stability(Stable) @Nullable default String getMemberId()
      The unique identifier of the member to which the node belongs.

      Applies only to Hyperledger Fabric.

    • builder

      @Stability(Stable) static CfnNodeProps.Builder builder()
      Returns:
      a CfnNodeProps.Builder of CfnNodeProps