'Modify the cache cluster. Note it\'s only possible to modify a few select options.'

def modify(self):

    nodes_to_remove = self._get_nodes_to_remove()
    try:
        response = self.conn.modify_cache_cluster(cache_cluster_id=self.name, num_cache_nodes=self.num_nodes, cache_node_ids_to_remove=nodes_to_remove, cache_security_group_names=self.cache_security_groups, cache_parameter_group_name=self.cache_parameter_group, security_group_ids=self.security_group_ids, apply_immediately=True, engine_version=self.cache_engine_version)
    except boto.exception.BotoServerError as e:
        self.module.fail_json(msg=e.message)
    self._refresh_data()
    self.changed = True
    if self.wait:
        self._wait_for_status('available')
