GetClusterShard constructor

const GetClusterShard({
  1. required Input<String> name,
  2. required Input<List<GetClusterShardNode>> nodes,
  3. required Input<int> numNodes,
  4. required Input<String> slots,
})

Creates a new GetClusterShard. name Name of the cluster. nodes Set of nodes in this shard. numNodes Number of individual nodes in this shard. slots Keyspace for this shard. Example: 0-16383.

Implementation

const GetClusterShard({
  required this.name,
  required this.nodes,
  required this.numNodes,
  required this.slots,
});