Module Values.NodeGroupMemberSource

Represents a single node within a node group (shard).

Sourcetype nonrec t = {
  1. cacheClusterId : String_.t option;
    (*

    The ID of the cluster to which the node belongs.

    *)
  2. cacheNodeId : String_.t option;
    (*

    The ID of the node within its cluster. A node ID is a numeric identifier (0001, 0002, etc.).

    *)
  3. readEndpoint : Endpoint.t option;
    (*

    The information required for client programs to connect to a node for read operations. The read endpoint is only applicable on Valkey or Redis OSS (cluster mode disabled) clusters.

    *)
  4. preferredAvailabilityZone : String_.t option;
    (*

    The name of the Availability Zone in which the node is located.

    *)
  5. preferredOutpostArn : String_.t option;
    (*

    The outpost ARN of the node group member.

    *)
  6. currentRole : String_.t option;
    (*

    The role that is currently assigned to the node - primary or replica. This member is only applicable for Valkey or Redis OSS (cluster mode disabled) replication groups.

    *)
}
Sourceval make : ?cacheClusterId:??? -> ?cacheNodeId:??? -> ?readEndpoint:??? -> ?preferredAvailabilityZone:??? -> ?preferredOutpostArn:??? -> ?currentRole:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of String_.t | `Structure of (string * [> `Integer of Integer.t | `String of String_.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t