This is the legal way to do it especially if you are in USA. The document known as living will allows your to document you wishes incase you are incapacititated. I wonder if Kenya has such a document.
Let your loved ones know your wishes so that there won’t be agony on deciding what to do incase you are in a tight corner
Do you want to die in dignity