libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ManagedBlockChain.Types.NodeConfiguration

Description

 
Synopsis

Documentation

data NodeConfiguration Source #

Configuration properties of a node.

See: newNodeConfiguration smart constructor.

Constructors

NodeConfiguration' 

Fields

  • logPublishingConfiguration :: Maybe NodeLogPublishingConfiguration

    Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on Managed Blockchain.

  • stateDB :: Maybe 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.

  • availabilityZone :: Maybe Text

    The Availability Zone in which the node exists. Required for Ethereum nodes.

  • instanceType :: Text

    The Amazon Managed Blockchain instance type for the node.

Instances

Instances details
Eq NodeConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeConfiguration

Read NodeConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeConfiguration

Show NodeConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeConfiguration

Generic NodeConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeConfiguration

Associated Types

type Rep NodeConfiguration :: Type -> Type #

NFData NodeConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeConfiguration

Methods

rnf :: NodeConfiguration -> () #

Hashable NodeConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeConfiguration

ToJSON NodeConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeConfiguration

type Rep NodeConfiguration Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NodeConfiguration

type Rep NodeConfiguration = D1 ('MetaData "NodeConfiguration" "Amazonka.ManagedBlockChain.Types.NodeConfiguration" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "NodeConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "logPublishingConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NodeLogPublishingConfiguration)) :*: S1 ('MetaSel ('Just "stateDB") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StateDBType))) :*: (S1 ('MetaSel ('Just "availabilityZone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "instanceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newNodeConfiguration Source #

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.