A police official was injured after being attacked with a weapon in Cannes, southern France, and his assailant has been "neutralized", French Interior Minister Gerald Darmanin said on Twitter, adding he would go to the scene of the incident later in the day.