Class: Aws::MemoryDB::Types::Shard

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-memorydb/types.rb

Overview

Represents a collection of nodes in a cluster. One node in the node group is the read/write primary node. All the other nodes are read-only Replica nodes.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the shard

Returns:

  • (String)


2978
2979
2980
2981
2982
2983
2984
2985
2986
# File 'lib/aws-sdk-memorydb/types.rb', line 2978

class Shard < Struct.new(
  :name,
  :status,
  :slots,
  :nodes,
  :number_of_nodes)
  SENSITIVE = []
  include Aws::Structure
end

#nodesArray<Types::Node>

A list containing information about individual nodes within the shard

Returns:



2978
2979
2980
2981
2982
2983
2984
2985
2986
# File 'lib/aws-sdk-memorydb/types.rb', line 2978

class Shard < Struct.new(
  :name,
  :status,
  :slots,
  :nodes,
  :number_of_nodes)
  SENSITIVE = []
  include Aws::Structure
end

#number_of_nodesInteger

The number of nodes in the shard

Returns:

  • (Integer)


2978
2979
2980
2981
2982
2983
2984
2985
2986
# File 'lib/aws-sdk-memorydb/types.rb', line 2978

class Shard < Struct.new(
  :name,
  :status,
  :slots,
  :nodes,
  :number_of_nodes)
  SENSITIVE = []
  include Aws::Structure
end

#slotsString

The keyspace for this shard.

Returns:

  • (String)


2978
2979
2980
2981
2982
2983
2984
2985
2986
# File 'lib/aws-sdk-memorydb/types.rb', line 2978

class Shard < Struct.new(
  :name,
  :status,
  :slots,
  :nodes,
  :number_of_nodes)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

The current state of this replication group - creating, available, modifying, deleting.

Returns:

  • (String)


2978
2979
2980
2981
2982
2983
2984
2985
2986
# File 'lib/aws-sdk-memorydb/types.rb', line 2978

class Shard < Struct.new(
  :name,
  :status,
  :slots,
  :nodes,
  :number_of_nodes)
  SENSITIVE = []
  include Aws::Structure
end