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)


2673
2674
2675
2676
2677
2678
2679
2680
2681
# File 'gems/aws-sdk-memorydb/lib/aws-sdk-memorydb/types.rb', line 2673

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:



2673
2674
2675
2676
2677
2678
2679
2680
2681
# File 'gems/aws-sdk-memorydb/lib/aws-sdk-memorydb/types.rb', line 2673

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)


2673
2674
2675
2676
2677
2678
2679
2680
2681
# File 'gems/aws-sdk-memorydb/lib/aws-sdk-memorydb/types.rb', line 2673

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

#slotsString

The keyspace for this shard.

Returns:

  • (String)


2673
2674
2675
2676
2677
2678
2679
2680
2681
# File 'gems/aws-sdk-memorydb/lib/aws-sdk-memorydb/types.rb', line 2673

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)


2673
2674
2675
2676
2677
2678
2679
2680
2681
# File 'gems/aws-sdk-memorydb/lib/aws-sdk-memorydb/types.rb', line 2673

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