libZSservicesZSamazonka-elasticacheZSamazonka-elasticache
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.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

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

  • replicaOutpostArns :: Maybe [Text]

    The outpost ARN of the node replicas.

  • replicaCount :: Maybe Int

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

  • primaryAvailabilityZone :: Maybe Text

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

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

  • primaryOutpostArn :: Maybe Text

    The outpost ARN of the primary node.

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

Instances

Instances details
Eq NodeGroupConfiguration Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.NodeGroupConfiguration

Read NodeGroupConfiguration Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.NodeGroupConfiguration

Show 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 #

NFData NodeGroupConfiguration Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.NodeGroupConfiguration

Methods

rnf :: NodeGroupConfiguration -> () #

Hashable NodeGroupConfiguration Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.NodeGroupConfiguration

ToQuery NodeGroupConfiguration Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.NodeGroupConfiguration

FromXML 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" "libZSservicesZSamazonka-elasticacheZSamazonka-elasticache" 'False) (C1 ('MetaCons "NodeGroupConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "slots") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "replicaOutpostArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "replicaCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) :*: ((S1 ('MetaSel ('Just "primaryAvailabilityZone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "replicaAvailabilityZones") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "primaryOutpostArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "nodeGroupId") '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: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"

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

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

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

$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:primaryOutpostArn:NodeGroupConfiguration', nodeGroupConfiguration_primaryOutpostArn - The outpost ARN of the primary node.

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

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"

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

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

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