java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-18T17:54:19.679Z") @Stability(Stable) public class CfnNode extends CfnResource implements IInspectable
Creates a node on the specified blockchain network.

Applies to Hyperledger Fabric and Ethereum.

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.*;
 CfnNode cfnNode = CfnNode.Builder.create(this, "MyCfnNode")
         .networkId("networkId")
         .nodeConfiguration(NodeConfigurationProperty.builder()
                 .availabilityZone("availabilityZone")
                 .instanceType("instanceType")
                 .build())
         // the properties below are optional
         .memberId("memberId")
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnNode

      protected CfnNode(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnNode

      protected CfnNode(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnNode

      @Stability(Stable) public CfnNode(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnNodeProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
      The Amazon Resource Name (ARN) of the node.
    • getAttrMemberId

      @Stability(Stable) @NotNull public String getAttrMemberId()
      The unique identifier of the member in which the node is created.

      Applies only to Hyperledger Fabric.

    • getAttrNetworkId

      @Stability(Stable) @NotNull public String getAttrNetworkId()
      The unique identifier of the network that the node is in.
    • getAttrNodeId

      @Stability(Stable) @NotNull public String getAttrNodeId()
      The unique identifier of the node.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getNetworkId

      @Stability(Stable) @NotNull public String getNetworkId()
      The unique identifier of the network for the node.
    • setNetworkId

      @Stability(Stable) public void setNetworkId(@NotNull String value)
      The unique identifier of the network for the node.
    • getNodeConfiguration

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

      @Stability(Stable) public void setNodeConfiguration(@NotNull IResolvable value)
      Configuration properties of a peer node.
    • setNodeConfiguration

      @Stability(Stable) public void setNodeConfiguration(@NotNull CfnNode.NodeConfigurationProperty value)
      Configuration properties of a peer node.
    • getMemberId

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

      @Stability(Stable) public void setMemberId(@Nullable String value)
      The unique identifier of the member to which the node belongs.