Brazil 's president is pledging to invest at least $ 1.7 billion to develop Rio de Janeiro 's slums .