prohibited.
A person may not use physical  force  to  resist  an  arrest,  whether
  authorized  or  unauthorized,  which is being effected or attempted by a
  police officer or peace officer when it would reasonably appear that the
  latter is a police officer or peace officer.
Structure New York Laws
Article 35 - Defense of Justification
35.00 - Justification; a Defense.
35.05 - Justification; Generally.
35.10 - Justification; Use of Physical Force Generally.
35.15 - Justification; Use of Physical Force in Defense of a Person.
35.25 - Justification; Use of Physical Force to Prevent or Terminate Larceny or Criminal Mischief.
35.27 - Justification; Use of Physical Force in Resisting Arrest Prohibited.
35.30 - Justification; Use of Physical Force in Making an Arrest or in Preventing an Escape.