{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-elasticache/json-schema/amazon-elasticache-describe-global-replication-groups-result-schema.json",
  "title": "DescribeGlobalReplicationGroupsResult",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-elasticache-global-replication-group-api-openapi.yml#/components/schemas/DescribeGlobalReplicationGroupsResult",
  "type": "object",
  "properties": {
    "Marker": {
      "type": "string",
      "description": "An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. >"
    },
    "GlobalReplicationGroups": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/GlobalReplicationGroup"
      },
      "description": "Indicates the slot configuration and global identifier for each slice group."
    }
  },
  "$defs": {
    "GlobalNodeGroup": {
      "type": "object",
      "properties": {
        "GlobalNodeGroupId": {
          "type": "string",
          "description": "The name of the global node group"
        },
        "Slots": {
          "type": "string",
          "description": "The keyspace for this node group"
        }
      }
    },
    "GlobalReplicationGroup": {
      "type": "object",
      "properties": {
        "GlobalReplicationGroupId": {
          "type": "string",
          "description": "The name of the Global datastore"
        },
        "GlobalReplicationGroupDescription": {
          "type": "string",
          "description": "The optional description of the Global datastore"
        },
        "Status": {
          "type": "string",
          "description": "The status of the Global datastore"
        },
        "CacheNodeType": {
          "type": "string",
          "description": "The cache node type of the Global datastore"
        },
        "Engine": {
          "type": "string",
          "description": "The ElastiCache engine. For Valkey or Redis OSS only."
        },
        "EngineVersion": {
          "type": "string",
          "description": "The ElastiCache engine version."
        },
        "Members": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/GlobalReplicationGroupMember"
          },
          "description": "The replication groups that comprise the Global datastore."
        },
        "ClusterEnabled": {
          "type": "boolean",
          "description": "A flag that indicates whether the Global datastore is cluster enabled."
        },
        "GlobalNodeGroups": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/GlobalNodeGroup"
          },
          "description": "Indicates the slot configuration and global identifier for each slice group."
        },
        "AuthTokenEnabled": {
          "type": "boolean",
          "description": "A flag that enables using an AuthToken (password) when issuing Valkey or Redis OSS commands. Default: false"
        },
        "TransitEncryptionEnabled": {
          "type": "boolean",
          "description": "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."
        },
        "AtRestEncryptionEnabled": {
          "type": "boolean",
          "description": "A flag that enables encryption at rest when set to true. You cannot modify the value of AtRestEncryptionEnabled after the replication group is created. To enable encryption at rest on a replication group you must set AtRestEncryptionEnabled to true when you create the replication group. Required: Only available when creating a replication group in an Amazon VPC using Redis OSS version 3.2.6, 4.x or later."
        },
        "ARN": {
          "type": "string",
          "description": "The ARN (Amazon Resource Name) of the global replication group."
        }
      }
    },
    "GlobalReplicationGroupMember": {
      "type": "object",
      "properties": {
        "ReplicationGroupId": {
          "type": "string",
          "description": "The replication group id of the Global datastore member."
        },
        "ReplicationGroupRegion": {
          "type": "string",
          "description": "The Amazon region of the Global datastore member."
        },
        "Role": {
          "type": "string",
          "description": "Indicates the role of the replication group, primary or secondary."
        },
        "AutomaticFailover": {
          "type": "string",
          "enum": [
            "enabled",
            "disabled",
            "enabling",
            "disabling"
          ],
          "description": "Indicates whether automatic failover is enabled for the replication group."
        },
        "Status": {
          "type": "string",
          "description": "The status of the membership of the replication group."
        }
      }
    }
  }
}