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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-memorydb/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)


2640
2641
2642
2643
2644
2645
2646
2647
2648
# File 'gems/aws-sdk-memorydb/lib/aws-sdk-memorydb/types.rb', line 2640

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:



2640
2641
2642
2643
2644
2645
2646
2647
2648
# File 'gems/aws-sdk-memorydb/lib/aws-sdk-memorydb/types.rb', line 2640

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)


2640
2641
2642
2643
2644
2645
2646
2647
2648
# File 'gems/aws-sdk-memorydb/lib/aws-sdk-memorydb/types.rb', line 2640

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

#slotsString

The keyspace for this shard.

Returns:

  • (String)


2640
2641
2642
2643
2644
2645
2646
2647
2648
# File 'gems/aws-sdk-memorydb/lib/aws-sdk-memorydb/types.rb', line 2640

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)


2640
2641
2642
2643
2644
2645
2646
2647
2648
# File 'gems/aws-sdk-memorydb/lib/aws-sdk-memorydb/types.rb', line 2640

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