AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.

Returns:

  • (String)


2206
2207
2208
2209
2210
2211
2212
2213
# File 'gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/types.rb', line 2206

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)


2206
2207
2208
2209
2210
2211
2212
2213
# File 'gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/types.rb', line 2206

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.



2206
2207
2208
2209
2210
2211
2212
2213
# File 'gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/types.rb', line 2206

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)


2206
2207
2208
2209
2210
2211
2212
2213
# File 'gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/types.rb', line 2206

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