Struct aws_sdk_managedblockchain::model::NodeConfiguration [−][src]
#[non_exhaustive]pub struct NodeConfiguration {
pub instance_type: Option<String>,
pub availability_zone: Option<String>,
pub log_publishing_configuration: Option<NodeLogPublishingConfiguration>,
pub state_db: Option<StateDbType>,
}
Expand description
Configuration properties of a node.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.instance_type: Option<String>
The Amazon Managed Blockchain instance type for the node.
availability_zone: Option<String>
The Availability Zone in which the node exists. Required for Ethereum nodes.
log_publishing_configuration: Option<NodeLogPublishingConfiguration>
Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on Managed Blockchain.
state_db: Option<StateDbType>
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.
Implementations
Creates a new builder-style object to manufacture NodeConfiguration
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for NodeConfiguration
impl Send for NodeConfiguration
impl Sync for NodeConfiguration
impl Unpin for NodeConfiguration
impl UnwindSafe for NodeConfiguration
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more