You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::ElastiCache::Types::NodeGroupMember

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

Overview

Represents a single node within a node group (shard).

Instance Attribute Summary collapse

Instance Attribute Details

#cache_cluster_idString

The ID of the cache cluster to which the node belongs.

Returns:

  • (String)


3991
3992
3993
3994
3995
3996
3997
3998
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 3991

class NodeGroupMember < Struct.new(
  :cache_cluster_id,
  :cache_node_id,
  :read_endpoint,
  :preferred_availability_zone,
  :current_role)
  include Aws::Structure
end

#cache_node_idString

The ID of the node within its cache cluster. A node ID is a numeric identifier (0001, 0002, etc.).

Returns:

  • (String)


3991
3992
3993
3994
3995
3996
3997
3998
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 3991

class NodeGroupMember < Struct.new(
  :cache_cluster_id,
  :cache_node_id,
  :read_endpoint,
  :preferred_availability_zone,
  :current_role)
  include Aws::Structure
end

#current_roleString

The role that is currently assigned to the node - primary or replica.

Returns:

  • (String)


3991
3992
3993
3994
3995
3996
3997
3998
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 3991

class NodeGroupMember < Struct.new(
  :cache_cluster_id,
  :cache_node_id,
  :read_endpoint,
  :preferred_availability_zone,
  :current_role)
  include Aws::Structure
end

#preferred_availability_zoneString

The name of the Availability Zone in which the node is located.

Returns:

  • (String)


3991
3992
3993
3994
3995
3996
3997
3998
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 3991

class NodeGroupMember < Struct.new(
  :cache_cluster_id,
  :cache_node_id,
  :read_endpoint,
  :preferred_availability_zone,
  :current_role)
  include Aws::Structure
end

#read_endpointTypes::Endpoint

Represents the information required for client programs to connect to a cache node.

Returns:



3991
3992
3993
3994
3995
3996
3997
3998
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 3991

class NodeGroupMember < Struct.new(
  :cache_cluster_id,
  :cache_node_id,
  :read_endpoint,
  :preferred_availability_zone,
  :current_role)
  include Aws::Structure
end