code: def _resolve_host(self):  # pylint: disable=no-self-use
          
          node_name = os.environ.get('NODE_NAME', '')
          if node_name.startswith('aws'):
              _host = os.environ.get('OPENTMI_ADDRESS_PRIVATE', None)
          else:
              _host = os.environ.get('OPENTMI_ADDRESS_PUBLIC', None)
  
          if _host is None:
              _host = os.environ.get("ICETEA_CLOUD_HOST", "localhost:3000")
  
          return _host
docs: Resolve cloud provider host name. Defaults to environment variables
          OPENTMI_ADDRESS_PRIVATE or OPENTMI_ADDRESS_PUBLIC if environment variable NODE_NAME
          starts with 'aws'. Otherwise gets ICETEA_CLOUD_HOST environment variable OR
          localhost:3000 if that one does not exist.
          :return: Cloud host information