You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::ManagedBlockchain::Types::NodeConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing NodeConfiguration as input to an Aws::Client method, you can use a vanilla Hash:

{
  instance_type: "InstanceTypeString", # required
  availability_zone: "AvailabilityZoneString", # required
  log_publishing_configuration: {
    fabric: {
      chaincode_logs: {
        cloudwatch: {
          enabled: false,
        },
      },
      peer_logs: {
        cloudwatch: {
          enabled: false,
        },
      },
    },
  },
  state_db: "LevelDB", # accepts LevelDB, CouchDB
}

Configuration properties of a peer node.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#availability_zoneString

The Availability Zone in which the node exists.

Returns:

  • (String)

    The Availability Zone in which the node exists.

#instance_typeString

The Amazon Managed Blockchain instance type for the node.

Returns:

  • (String)

    The Amazon Managed Blockchain instance type for the node.

#log_publishing_configurationTypes::NodeLogPublishingConfiguration

Configuration properties for logging events associated with a peer node owned by a member in a Managed Blockchain network.

Returns:

#state_dbString

The state database that the node uses. Values are LevelDB or CouchDB. When using an Amazon Managed Blockchain network with Hyperledger Fabric version 1.4 or later, the default is CouchDB.

Possible values:

  • LevelDB
  • CouchDB

Returns:

  • (String)

    The state database that the node uses.