Module Values.ReplicationGroupSource

Contains all of the attributes of a specific Valkey or Redis OSS replication group.

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

    The identifier for the replication group.

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

    The user supplied description of the replication group.

    *)
  3. globalReplicationGroupInfo : GlobalReplicationGroupInfo.t option;
    (*

    The name of the Global datastore and role of this replication group in the Global datastore.

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

    The current state of this replication group - creating, available, modifying, deleting, create-failed, snapshotting.

    *)
  5. pendingModifiedValues : ReplicationGroupPendingModifiedValues.t option;
    (*

    A group of settings to be applied to the replication group, either immediately or during the next maintenance window.

    *)
  6. memberClusters : ClusterIdList.t option;
    (*

    The names of all the cache clusters that are part of this replication group.

    *)
  7. nodeGroups : NodeGroupList.t option;
    (*

    A list of node groups in this replication group. For Valkey or Redis OSS (cluster mode disabled) replication groups, this is a single-element list. For Valkey or Redis OSS (cluster mode enabled) replication groups, the list contains an entry for each node group (shard).

    *)
  8. snapshottingClusterId : String_.t option;
    (*

    The cluster ID that is used as the daily snapshot source for the replication group.

    *)
  9. automaticFailover : AutomaticFailoverStatus.t option;
    (*

    Indicates the status of automatic failover for this Valkey or Redis OSS replication group.

    *)
  10. multiAZ : MultiAZStatus.t option;
    (*

    A flag indicating if you have Multi-AZ enabled to enhance fault tolerance. For more information, see Minimizing Downtime: Multi-AZ

    *)
  11. configurationEndpoint : Endpoint.t option;
    (*

    The configuration endpoint for this replication group. Use the configuration endpoint to connect to this replication group.

    *)
  12. snapshotRetentionLimit : IntegerOptional.t option;
    (*

    The number of days for which ElastiCache retains automatic cluster snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, a snapshot that was taken today is retained for 5 days before being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off.

    *)
  13. snapshotWindow : String_.t option;
    (*

    The daily time range (in UTC) during which ElastiCache begins taking a daily snapshot of your node group (shard). Example: 05:00-09:00 If you do not specify this parameter, ElastiCache automatically chooses an appropriate time range. This parameter is only valid if the Engine parameter is redis.

    *)
  14. clusterEnabled : BooleanOptional.t option;
    (*

    A flag indicating whether or not this replication group is cluster enabled; i.e., whether its data can be partitioned across multiple shards (API/CLI: node groups). Valid values: true | false

    *)
  15. cacheNodeType : String_.t option;
    (*

    The name of the compute and memory capacity node type for each node in the replication group.

    *)
  16. authTokenEnabled : BooleanOptional.t option;
    (*

    A flag that enables using an AuthToken (password) when issuing Valkey or Redis OSS commands. Default: false

    *)
  17. authTokenLastModifiedDate : TStamp.t option;
    (*

    The date the auth token was last modified

    *)
  18. transitEncryptionEnabled : BooleanOptional.t option;
    (*

    A flag that enables in-transit encryption when set to true. Required: Only available when creating a replication group in an Amazon VPC using Redis OSS version 3.2.6, 4.x or later. Default: false

    *)
  19. atRestEncryptionEnabled : BooleanOptional.t option;
    (*

    A flag that enables encryption at-rest when set to true. You cannot modify the value of AtRestEncryptionEnabled after the cluster is created. To enable encryption at-rest on a cluster you must set AtRestEncryptionEnabled to true when you create a cluster. Required: Only available when creating a replication group in an Amazon VPC using Redis OSS version 3.2.6, 4.x or later. Default: false

    *)
  20. memberClustersOutpostArns : ReplicationGroupOutpostArnList.t option;
    (*

    The outpost ARNs of the replication group's member clusters.

    *)
  21. kmsKeyId : String_.t option;
    (*

    The ID of the KMS key used to encrypt the disk in the cluster.

    *)
  22. aRN : String_.t option;
    (*

    The ARN (Amazon Resource Name) of the replication group.

    *)
  23. userGroupIds : UserGroupIdList.t option;
    (*

    The ID of the user group associated to the replication group.

    *)
  24. logDeliveryConfigurations : LogDeliveryConfigurationList.t option;
    (*

    Returns the destination, format and type of the logs.

    *)
  25. replicationGroupCreateTime : TStamp.t option;
    (*

    The date and time when the cluster was created.

    *)
  26. dataTiering : DataTieringStatus.t option;
    (*

    Enables data tiering. Data tiering is only supported for replication groups using the r6gd node type. This parameter must be set to true when using r6gd nodes. For more information, see Data tiering.

    *)
  27. autoMinorVersionUpgrade : Boolean.t option;
    (*

    If you are running Valkey 7.2 and above, or Redis OSS engine version 6.0 and above, set this parameter to yes if you want to opt-in to the next auto minor version upgrade campaign. This parameter is disabled for previous versions.

    *)
  28. networkType : NetworkType.t option;
    (*

    Must be either ipv4 | ipv6 | dual_stack. IPv6 is supported for workloads using Valkey 7.2 and above, Redis OSS engine version 6.2 to 7.1 or Memcached engine version 1.6.6 and above on all instances built on the Nitro system.

    *)
  29. ipDiscovery : IpDiscovery.t option;
    (*

    The network type you choose when modifying a cluster, either ipv4 | ipv6. IPv6 is supported for workloads using Valkey 7.2 and above, Redis OSS engine version 6.2 to 7.1 or Memcached engine version 1.6.6 and above on all instances built on the Nitro system.

    *)
  30. transitEncryptionMode : TransitEncryptionMode.t option;
    (*

    A setting that allows you to migrate your clients to use in-transit encryption, with no downtime.

    *)
  31. clusterMode : ClusterMode.t option;
    (*

    Enabled or Disabled. To modify cluster mode from Disabled to Enabled, you must first set the cluster mode to Compatible. Compatible mode allows your Valkey or Redis OSS clients to connect using both cluster mode enabled and cluster mode disabled. After you migrate all Valkey or Redis OSS clients to use cluster mode enabled, you can then complete cluster mode configuration and set the cluster mode to Enabled.

    *)
  32. engine : String_.t option;
    (*

    The engine used in a replication group. The options are valkey, memcached or redis.

    *)
}
Sourceval make : ?replicationGroupId:??? -> ?description:??? -> ?globalReplicationGroupInfo:??? -> ?status:??? -> ?pendingModifiedValues:??? -> ?memberClusters:??? -> ?nodeGroups:??? -> ?snapshottingClusterId:??? -> ?automaticFailover:??? -> ?multiAZ:??? -> ?configurationEndpoint:??? -> ?snapshotRetentionLimit:??? -> ?snapshotWindow:??? -> ?clusterEnabled:??? -> ?cacheNodeType:??? -> ?authTokenEnabled:??? -> ?authTokenLastModifiedDate:??? -> ?transitEncryptionEnabled:??? -> ?atRestEncryptionEnabled:??? -> ?memberClustersOutpostArns:??? -> ?kmsKeyId:??? -> ?aRN:??? -> ?userGroupIds:??? -> ?logDeliveryConfigurations:??? -> ?replicationGroupCreateTime:??? -> ?dataTiering:??? -> ?autoMinorVersionUpgrade:??? -> ?networkType:??? -> ?ipDiscovery:??? -> ?transitEncryptionMode:??? -> ?clusterMode:??? -> ?engine:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of BooleanOptional.t | `Enum of string | `Integer of IntegerOptional.t | `List of [> `String of String_.t | `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of String_.t | `Structure of (string * [> `Integer of Integer.t | `String of String_.t ]) list ]) list ] list | `String of String_.t | `Structure of (string * [> `Integer of Integer.t | `String of String_.t | `Structure of (string * [> `String of String_.t ]) list ]) list ]) list ] list | `String of String_.t | `Structure of (string * [> `Boolean of BooleanOptional.t | `Enum of string | `Integer of Integer.t | `List of [> `Structure of (string * [> `Enum of string | `Structure of (string * [> `Structure of (string * [> `String of String_.t ]) list ]) list ]) list ] list | `String of String_.t | `Structure of (string * [> `List of [> `String of UserGroupId.t ] list | `Structure of (string * [> `Double of Double.t ]) list ]) list ]) list | `Timestamp of TStamp.t ]) 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