A​n iconic Coney Island restaurant decided on Thursday to cancel an upcoming NRA-linked event ​due to pressure from politicians and others in light of the Parkland, Fla., high school massacre.

The owners of Italian eatery and event space Gargiulo’s thanked those ​who weighed in ​after The Post first reported on the event for​​ their input and said it was best to cancel the fundraiser that included handgun raffles and a gun giveaway. ​

“As a long-standing member of the Coney Island community since 1907, the Russo family of Gargiulo’s Restaurant has provided a venue for thousands of community events and family celebrations,” Gargiulo’s said in a statement.

“They have never had a national political issue land on their doorstep. They thank everyone for their interest in this important dialogue and have decided it best to cancel the event.”

The decision came after a slew of city politicians criticized the century-old restaurant and the gun group over the April 12 event.

State Senate candidate Andrew Gounardes, who was critical of the decision to hold the event, celebrated the decision.

“This is a more than just a victory for Brooklyn, it’s a victory for common sense. The NRA is totally out of touch with the values of our community,” Gounardes told The Post.

“But, thankfully, Gargiulo’s and the entire Russo family are good neighbors who made the right decision.”