‘The last straw’ is the final occurrence in a series of bad events. This final occurence is the reason to for you to decide to stop doing something, to stop being in contact with someone or to take action over something.
He has been rude to me several times over the past few months. I’ve ignored it, but yesterday was the last straw! I lost my temper and shouted at him.