amazonka-elasticache-2.0: Amazon ElastiCache SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ElastiCache.Types.NodeGroupConfiguration

Description

 
Synopsis

Documentation

data NodeGroupConfiguration Source #

Node group (shard) configuration options. Each node group (shard) configuration has the following: Slots, PrimaryAvailabilityZone, ReplicaAvailabilityZones, ReplicaCount.

See: newNodeGroupConfiguration smart constructor.

Constructors

NodeGroupConfiguration' 

Fields

  • nodeGroupId :: Maybe Text

    Either the ElastiCache for Redis supplied 4-digit id or a user supplied id for the node group these configuration values apply to.

  • primaryAvailabilityZone :: Maybe Text

    The Availability Zone where the primary node of this node group (shard) is launched.

  • primaryOutpostArn :: Maybe Text

    The outpost ARN of the primary node.

  • replicaAvailabilityZones :: Maybe [Text]

    A list of Availability Zones to be used for the read replicas. The number of Availability Zones in this list must match the value of ReplicaCount or ReplicasPerNodeGroup if not specified.

  • replicaCount :: Maybe Int

    The number of read replica nodes in this node group (shard).

  • replicaOutpostArns :: Maybe [Text]

    The outpost ARN of the node replicas.

  • 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.

    Example: "0-3999"

Instances

Instances details
ToQuery NodeGroupConfiguration Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.NodeGroupConfiguration

FromXML NodeGroupConfiguration Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.NodeGroupConfiguration

Generic NodeGroupConfiguration Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.NodeGroupConfiguration

Associated Types

type Rep NodeGroupConfiguration :: Type -> Type #

Read NodeGroupConfiguration Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.NodeGroupConfiguration

Show NodeGroupConfiguration Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.NodeGroupConfiguration

NFData NodeGroupConfiguration Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.NodeGroupConfiguration

Methods

rnf :: NodeGroupConfiguration -> () #

Eq NodeGroupConfiguration Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.NodeGroupConfiguration

Hashable NodeGroupConfiguration Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.NodeGroupConfiguration

type Rep NodeGroupConfiguration Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.NodeGroupConfiguration

type Rep NodeGroupConfiguration = D1 ('MetaData "NodeGroupConfiguration" "Amazonka.ElastiCache.Types.NodeGroupConfiguration" "amazonka-elasticache-2.0-DTWyHgx8JwY7IlNovngF22" 'False) (C1 ('MetaCons "NodeGroupConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nodeGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "primaryAvailabilityZone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "primaryOutpostArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "replicaAvailabilityZones") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "replicaCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "replicaOutpostArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "slots") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newNodeGroupConfiguration :: NodeGroupConfiguration Source #

Create a value of NodeGroupConfiguration 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:nodeGroupId:NodeGroupConfiguration', nodeGroupConfiguration_nodeGroupId - Either the ElastiCache for Redis supplied 4-digit id or a user supplied id for the node group these configuration values apply to.

$sel:primaryAvailabilityZone:NodeGroupConfiguration', nodeGroupConfiguration_primaryAvailabilityZone - The Availability Zone where the primary node of this node group (shard) is launched.

$sel:primaryOutpostArn:NodeGroupConfiguration', nodeGroupConfiguration_primaryOutpostArn - The outpost ARN of the primary node.

$sel:replicaAvailabilityZones:NodeGroupConfiguration', nodeGroupConfiguration_replicaAvailabilityZones - A list of Availability Zones to be used for the read replicas. The number of Availability Zones in this list must match the value of ReplicaCount or ReplicasPerNodeGroup if not specified.

$sel:replicaCount:NodeGroupConfiguration', nodeGroupConfiguration_replicaCount - The number of read replica nodes in this node group (shard).

$sel:replicaOutpostArns:NodeGroupConfiguration', nodeGroupConfiguration_replicaOutpostArns - The outpost ARN of the node replicas.

$sel:slots:NodeGroupConfiguration', nodeGroupConfiguration_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.

Example: "0-3999"

nodeGroupConfiguration_nodeGroupId :: Lens' NodeGroupConfiguration (Maybe Text) Source #

Either the ElastiCache for Redis supplied 4-digit id or a user supplied id for the node group these configuration values apply to.

nodeGroupConfiguration_primaryAvailabilityZone :: Lens' NodeGroupConfiguration (Maybe Text) Source #

The Availability Zone where the primary node of this node group (shard) is launched.

nodeGroupConfiguration_replicaAvailabilityZones :: Lens' NodeGroupConfiguration (Maybe [Text]) Source #

A list of Availability Zones to be used for the read replicas. The number of Availability Zones in this list must match the value of ReplicaCount or ReplicasPerNodeGroup if not specified.

nodeGroupConfiguration_replicaCount :: Lens' NodeGroupConfiguration (Maybe Int) Source #

The number of read replica nodes in this node group (shard).

nodeGroupConfiguration_slots :: Lens' NodeGroupConfiguration (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.

Example: "0-3999"