| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.MemoryDb.Types.ShardConfiguration
Description
Documentation
data ShardConfiguration Source #
Shard configuration options. Each shard configuration has the following: Slots and ReplicaCount.
See: newShardConfiguration smart constructor.
Constructors
| ShardConfiguration' | |
Instances
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:replicaCount:ShardConfiguration', shardConfiguration_replicaCount - The number of read replica nodes in this shard.
$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.
shardConfiguration_replicaCount :: Lens' ShardConfiguration (Maybe Int) Source #
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.