North Yorkshire MP Rishi Sunak has secured a new role following his resignation as leader of the Conservatives, becoming an ambassador for a cancer charity.