phoenix police
A suspect is in custody after, police said, he shot and killed a woman and two children before getting into a shootout with police at a central Phoenix apartment complex on Christmas, Dec. 25, 2017. In this photo, riot police form a line outside the Phoenix, Arizona, Convention Center where demonstrators gathered to protest President Donald Trump's speech at a "Make America Great Again" rally, Aug. 22, 2017. Getty Images

A 38-year-old woman, and her 11-year-old son and 10-month-old daughter, were killed on Christmas Day in a domestic violence shooting at an upscale apartment complex in Phoenix.

The male suspect, 45, who had barricaded himself in the apartment, opened fire on Phoenix police after a six-hour standoff and after the children's bodies were discovered in the unit and after the woman was found dead in a nearby parking lot, according to local reports.

One officer was hospitalized in the shootout and is in stable condition after being hit by shrapnel, according to Sgt. Jonathan Howard. The suspect, who was taken into custody at about 10 p.m. local time, was not injured.

Phoenix police have yet to release the suspect's identity or the names of those killed. The man reportedly had a relationship with the woman who was killed.

Police said that at one point during the standoff they asked media to stop providing updates because the suspect told them "he is monitoring media and it is agitating him," according to Howard.

During the standoff and until the issue had been resolved, numerous residents waited in parked cars across the street near the apartment complex for several hours.

"I can't believe it's Christmas and there's a shooting or whatever's going on. It's eerie. I feel bad for whoever is going through this," Kristen Alexander, a resident of the apartment complex, told AZFamily.com.

Alexander, who was escorted back to her apartment after spending almost over five hours outside in a parking lot, said she is "terrified of who our neighbors are."

[This article was updated at 12:15 p.m. ET]