Senior Constable Len Snee of Taradale police was the officer killed in the line of duty in Napier this morning.
Police released his name at a press conference at Napier police station this afternoon.
Constable Bruce Miller and Constable Grant Diver were both in a serious condition in Hawke's Bay regional hospital.
All three were described as long-serving officers, well-known in the city.
Mr Snee was a member of the armed offenders' squad, who worked on drugs cases.
A member of the public was also shot and was in hospital being operated on, Eastern District commander Superintendent Sam Hoyle told journalists.
Mr Hoyle confirmed three officers were shot in an incident on Chaucer Rd, Napier Hill, today during what started out as a low-level cannabis raid.
Mr Snee's body remained outside the Napier house, where a 51-year-old man with a high-powered rifle remained holed up.
Mr Diver crawled to a neighbouring property to get help, after being shot.
Mr Miller was the community constable for Ahuriri, the Napier suburb where the raid took place.
He played soccer for Napier Marist and was a scratch golfer at Napier's Maraenui Golf Club, where he was the club's second-lowest handicapper.
Mr Snee was the first officer killed in the Hawke's Bay since 1996, when Constable Glenn Arthur McKibbin, 25, was shot beside his patrol car in the Hastings suburb of Flaxmere.
Mr McKibbin died on the way to hospital. Former soldier Terence Thompson was later found in a Havelock North orchard and shot dead by police.
Today's incident began around 9.30am as police were executing a cannabis search warrant when shots were fired.