Amazon ElastiCache · Schema

ModifyReplicationGroupShardConfigurationMessage

Amazon Web ServicesCachingDatabaseElasti CacheIn-MemoryMemcachedRedis

Properties

Name Type Description
ReplicationGroupId string The name of the Valkey or Redis OSS (cluster mode enabled) cluster (replication group) on which the shards are to be configured.
NodeGroupCount integer The number of node groups (shards) that results from the modification of the shard configuration.
ApplyImmediately boolean Indicates that the shard reconfiguration process begins immediately. At present, the only permitted value for this parameter is true. Value: true
ReshardingConfiguration array Specifies the preferred availability zones for each node group in the cluster. If the value of NodeGroupCount is greater than the current number of node groups (shards), you can use this parameter to
NodeGroupsToRemove array If the value of NodeGroupCount is less than the current number of node groups (shards), then either NodeGroupsToRemove or NodeGroupsToRetain is required. NodeGroupsToRemove is a list of NodeGroupIds t
NodeGroupsToRetain array If the value of NodeGroupCount is less than the current number of node groups (shards), then either NodeGroupsToRemove or NodeGroupsToRetain is required. NodeGroupsToRetain is a list of NodeGroupIds t
View JSON Schema on GitHub

JSON Schema

amazon-elasticache-modify-replication-group-shard-configuration-message-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-elasticache/json-schema/amazon-elasticache-modify-replication-group-shard-configuration-message-schema.json",
  "title": "ModifyReplicationGroupShardConfigurationMessage",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-elasticache-operations-api-openapi.yml#/components/schemas/ModifyReplicationGroupShardConfigurationMessage",
  "type": "object",
  "properties": {
    "ReplicationGroupId": {
      "type": "string",
      "description": "The name of the Valkey or Redis OSS (cluster mode enabled) cluster (replication group) on which the shards are to be configured."
    },
    "NodeGroupCount": {
      "type": "integer",
      "description": "The number of node groups (shards) that results from the modification of the shard configuration."
    },
    "ApplyImmediately": {
      "type": "boolean",
      "description": "Indicates that the shard reconfiguration process begins immediately. At present, the only permitted value for this parameter is true. Value: true"
    },
    "ReshardingConfiguration": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ReshardingConfiguration"
      },
      "description": "Specifies the preferred availability zones for each node group in the cluster. If the value of NodeGroupCount is greater than the current number of node groups (shards), you can use this parameter to specify the preferred availability zones of the cluster's shards. If you omit this parameter ElastiCache selects availability zones for you. You can specify this parameter only if the value of NodeGroupCount is greater than the current number of node groups (shards)."
    },
    "NodeGroupsToRemove": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "If the value of NodeGroupCount is less than the current number of node groups (shards), then either NodeGroupsToRemove or NodeGroupsToRetain is required. NodeGroupsToRemove is a list of NodeGroupIds to remove from the cluster. ElastiCache will attempt to remove all node groups listed by NodeGroupsToRemove from the cluster."
    },
    "NodeGroupsToRetain": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "If the value of NodeGroupCount is less than the current number of node groups (shards), then either NodeGroupsToRemove or NodeGroupsToRetain is required. NodeGroupsToRetain is a list of NodeGroupIds to retain in the cluster. ElastiCache will attempt to remove all node groups except those listed by NodeGroupsToRetain from the cluster."
    }
  },
  "required": [
    "ReplicationGroupId",
    "NodeGroupCount",
    "ApplyImmediately"
  ],
  "$defs": {
    "ReshardingConfiguration": {
      "type": "object",
      "properties": {
        "NodeGroupId": {
          "type": "string",
          "description": "Either the ElastiCache supplied 4-digit id or a user supplied id for the node group these configuration values apply to."
        },
        "PreferredAvailabilityZones": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of preferred availability zones for the nodes in this cluster."
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-elasticache-modify-replication-group-shard-configuration-message"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.