Class: Aws::ElastiCache::Types::NodeGroupConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb

Overview

Note:

When making an API call, you may pass NodeGroupConfiguration data as a hash:

{
  node_group_id: "AllowedNodeGroupId",
  slots: "String",
  replica_count: 1,
  primary_availability_zone: "String",
  replica_availability_zones: ["String"],
}

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#node_group_idString

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

Returns:

  • (String)


5925
5926
5927
5928
5929
5930
5931
5932
5933
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 5925

class NodeGroupConfiguration < Struct.new(
  :node_group_id,
  :slots,
  :replica_count,
  :primary_availability_zone,
  :replica_availability_zones)
  SENSITIVE = []
  include Aws::Structure
end

#primary_availability_zoneString

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

Returns:

  • (String)


5925
5926
5927
5928
5929
5930
5931
5932
5933
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 5925

class NodeGroupConfiguration < Struct.new(
  :node_group_id,
  :slots,
  :replica_count,
  :primary_availability_zone,
  :replica_availability_zones)
  SENSITIVE = []
  include Aws::Structure
end

#replica_availability_zonesArray<String>

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.

Returns:

  • (Array<String>)


5925
5926
5927
5928
5929
5930
5931
5932
5933
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 5925

class NodeGroupConfiguration < Struct.new(
  :node_group_id,
  :slots,
  :replica_count,
  :primary_availability_zone,
  :replica_availability_zones)
  SENSITIVE = []
  include Aws::Structure
end

#replica_countInteger

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

Returns:

  • (Integer)


5925
5926
5927
5928
5929
5930
5931
5932
5933
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 5925

class NodeGroupConfiguration < Struct.new(
  :node_group_id,
  :slots,
  :replica_count,
  :primary_availability_zone,
  :replica_availability_zones)
  SENSITIVE = []
  include Aws::Structure
end

#slotsString

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"

Returns:

  • (String)


5925
5926
5927
5928
5929
5930
5931
5932
5933
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 5925

class NodeGroupConfiguration < Struct.new(
  :node_group_id,
  :slots,
  :replica_count,
  :primary_availability_zone,
  :replica_availability_zones)
  SENSITIVE = []
  include Aws::Structure
end