| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.ManagedBlockChain.Types.NodeConfiguration
Description
Synopsis
- data NodeConfiguration = NodeConfiguration' {}
- newNodeConfiguration :: Text -> NodeConfiguration
- nodeConfiguration_logPublishingConfiguration :: Lens' NodeConfiguration (Maybe NodeLogPublishingConfiguration)
- nodeConfiguration_stateDB :: Lens' NodeConfiguration (Maybe StateDBType)
- nodeConfiguration_availabilityZone :: Lens' NodeConfiguration (Maybe Text)
- nodeConfiguration_instanceType :: Lens' NodeConfiguration Text
Documentation
data NodeConfiguration Source #
Configuration properties of a node.
See: newNodeConfiguration smart constructor.
Constructors
| NodeConfiguration' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> NodeConfiguration |
Create a value of NodeConfiguration with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:logPublishingConfiguration:NodeConfiguration', nodeConfiguration_logPublishingConfiguration - Configuration properties for logging events associated with a peer node
on a Hyperledger Fabric network on Managed Blockchain.
$sel:stateDB:NodeConfiguration', nodeConfiguration_stateDB - 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.
$sel:availabilityZone:NodeConfiguration', nodeConfiguration_availabilityZone - The Availability Zone in which the node exists. Required for Ethereum
nodes.
$sel:instanceType:NodeConfiguration', nodeConfiguration_instanceType - The Amazon Managed Blockchain instance type for the node.
nodeConfiguration_logPublishingConfiguration :: Lens' NodeConfiguration (Maybe NodeLogPublishingConfiguration) Source #
Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on Managed Blockchain.
nodeConfiguration_stateDB :: Lens' NodeConfiguration (Maybe StateDBType) Source #
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.
nodeConfiguration_availabilityZone :: Lens' NodeConfiguration (Maybe Text) Source #
The Availability Zone in which the node exists. Required for Ethereum nodes.
nodeConfiguration_instanceType :: Lens' NodeConfiguration Text Source #
The Amazon Managed Blockchain instance type for the node.