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",
  log_publishing_configuration: {
    fabric: {
      chaincode_logs: {
        cloudwatch: {
          enabled: false,
        },
      },
      peer_logs: {
        cloudwatch: {
          enabled: false,
        },
      },
    },
  },
  state_db: "LevelDB", # accepts LevelDB, CouchDB
}

Configuration properties of a node.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#availability_zoneString

The Availability Zone in which the node exists. Required for Ethereum nodes. Ethereum on Managed Blockchain is in preview release and is subject to change.

Returns:

  • (String)


2101
2102
2103
2104
2105
2106
2107
2108
# File 'gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/types.rb', line 2101

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)


2101
2102
2103
2104
2105
2106
2107
2108
# File 'gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/types.rb', line 2101

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 on a Hyperledger Fabric network on Managed Blockchain.



2101
2102
2103
2104
2105
2106
2107
2108
# File 'gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/types.rb', line 2101

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.

Applies only to Hyperledger Fabric.

Returns:

  • (String)


2101
2102
2103
2104
2105
2106
2107
2108
# File 'gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/types.rb', line 2101

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