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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/types.rb

Overview

Note:

When making an API call, you may pass NodeConfiguration data as a 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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#availability_zoneString

The Availability Zone in which the node exists.

Returns:

  • (String)


1772
1773
1774
1775
1776
1777
1778
1779
# File 'gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/types.rb', line 1772

class NodeConfiguration < Struct.new(
  :instance_type,
  :availability_zone,
  :log_publishing_configuration,
  :state_db)
  SENSITIVE = []
  include Aws::Structure
end

#instance_typeString

The Amazon Managed Blockchain instance type for the node.

Returns:

  • (String)


1772
1773
1774
1775
1776
1777
1778
1779
# File 'gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/types.rb', line 1772

class NodeConfiguration < Struct.new(
  :instance_type,
  :availability_zone,
  :log_publishing_configuration,
  :state_db)
  SENSITIVE = []
  include Aws::Structure
end

#log_publishing_configurationTypes::NodeLogPublishingConfiguration

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



1772
1773
1774
1775
1776
1777
1778
1779
# File 'gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/types.rb', line 1772

class NodeConfiguration < Struct.new(
  :instance_type,
  :availability_zone,
  :log_publishing_configuration,
  :state_db)
  SENSITIVE = []
  include Aws::Structure
end

#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.

Returns:

  • (String)


1772
1773
1774
1775
1776
1777
1778
1779
# File 'gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/types.rb', line 1772

class NodeConfiguration < Struct.new(
  :instance_type,
  :availability_zone,
  :log_publishing_configuration,
  :state_db)
  SENSITIVE = []
  include Aws::Structure
end