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)


2605
2606
2607
2608
2609
2610
2611
2612
2613
# File 'gems/aws-sdk-memorydb/lib/aws-sdk-memorydb/types.rb', line 2605

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:



2605
2606
2607
2608
2609
2610
2611
2612
2613
# File 'gems/aws-sdk-memorydb/lib/aws-sdk-memorydb/types.rb', line 2605

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)


2605
2606
2607
2608
2609
2610
2611
2612
2613
# File 'gems/aws-sdk-memorydb/lib/aws-sdk-memorydb/types.rb', line 2605

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

#slotsString

The keyspace for this shard.

Returns:

  • (String)


2605
2606
2607
2608
2609
2610
2611
2612
2613
# File 'gems/aws-sdk-memorydb/lib/aws-sdk-memorydb/types.rb', line 2605

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)


2605
2606
2607
2608
2609
2610
2611
2612
2613
# File 'gems/aws-sdk-memorydb/lib/aws-sdk-memorydb/types.rb', line 2605

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