{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-elasticache/json-schema/amazon-elasticache-create-user-group-message-schema.json",
  "title": "CreateUserGroupMessage",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-elasticache-user-group-api-openapi.yml#/components/schemas/CreateUserGroupMessage",
  "type": "object",
  "properties": {
    "UserGroupId": {
      "type": "string",
      "description": "The ID of the user group. This value is stored as a lowercase string."
    },
    "Engine": {
      "type": "string",
      "description": "Sets the engine listed in a user group. The options are valkey or redis."
    },
    "UserIds": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The list of user IDs that belong to the user group."
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted. Available for Valkey and Redis OSS only."
    }
  },
  "required": [
    "UserGroupId",
    "Engine"
  ],
  "$defs": {
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The key for the tag. May not be null."
        },
        "Value": {
          "type": "string",
          "description": "The tag's value. May be null."
        }
      }
    }
  }
}