Man accused of attacking officer with Taser held on $1 million bond