President Barack Obama says the United States will use all of its diplomatic resources and relationships to secure a deal on a cease-fire to end violence between Israel and Hamas in the Gaza Strip.