def METHOD_NAME(self, rotation_id: int, config: Dict) -> None:
    with ConfigFileManager.CFM_LOCK:
        config_path = self.get_new_upstream_filepath(rotation_id)
        write_json(config_path, config)