libZSservicesZSamazonka-memorydbZSamazonka-memorydb
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.MemoryDb.Types.ShardConfiguration

Description

 
Synopsis

Documentation

data ShardConfiguration Source #

Shard configuration options. Each shard configuration has the following: Slots and ReplicaCount.

See: newShardConfiguration smart constructor.

Constructors

ShardConfiguration' 

Fields

  • slots :: Maybe Text

    A string that specifies the keyspace for a particular node group. Keyspaces range from 0 to 16,383. The string is in the format startkey-endkey.

  • replicaCount :: Maybe Int

    The number of read replica nodes in this shard.

Instances

Instances details
Eq ShardConfiguration Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.ShardConfiguration

Read ShardConfiguration Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.ShardConfiguration

Show ShardConfiguration Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.ShardConfiguration

Generic ShardConfiguration Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.ShardConfiguration

Associated Types

type Rep ShardConfiguration :: Type -> Type #

NFData ShardConfiguration Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.ShardConfiguration

Methods

rnf :: ShardConfiguration -> () #

Hashable ShardConfiguration Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.ShardConfiguration

FromJSON ShardConfiguration Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.ShardConfiguration

type Rep ShardConfiguration Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.ShardConfiguration

type Rep ShardConfiguration = D1 ('MetaData "ShardConfiguration" "Amazonka.MemoryDb.Types.ShardConfiguration" "libZSservicesZSamazonka-memorydbZSamazonka-memorydb" 'False) (C1 ('MetaCons "ShardConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "slots") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "replicaCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))

newShardConfiguration :: ShardConfiguration Source #

Create a value of ShardConfiguration 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:slots:ShardConfiguration', shardConfiguration_slots - A string that specifies the keyspace for a particular node group. Keyspaces range from 0 to 16,383. The string is in the format startkey-endkey.

$sel:replicaCount:ShardConfiguration', shardConfiguration_replicaCount - The number of read replica nodes in this shard.

shardConfiguration_slots :: Lens' ShardConfiguration (Maybe Text) Source #

A string that specifies the keyspace for a particular node group. Keyspaces range from 0 to 16,383. The string is in the format startkey-endkey.

shardConfiguration_replicaCount :: Lens' ShardConfiguration (Maybe Int) Source #

The number of read replica nodes in this shard.