A woman who threw an egg at the Prime Minister's head during an election campaign event has been sentenced to an 18-month community corrections order and will have to complete 150 hours of community service.

Key points: Amber Holt attempted to smash an egg against Prime Minister Scott Morrison's head during a campaign event in May

Amber Holt attempted to smash an egg against Prime Minister Scott Morrison's head during a campaign event in May The 25-year-old previously pleaded guilty to the assault and to possessing cannabis at the time of the egging

The 25-year-old previously pleaded guilty to the assault and to possessing cannabis at the time of the egging Holt warned others against following her lead, describing her actions as "selfish and stupid"

Amber Holt, 25, was sentenced at the Albury Local Court on Tuesday, after pleading guilty earlier this month to common assault.

Holt threw the egg at Prime Minister Scott Morrison's head while he was campaigning at a Country Women's Association conference in Albury in May.

The egg grazed his head but did not smash.

Holt also pleaded guilty to possessing cannabis at the time of the egging.

Holt threw the egg after hearing of the Prime Minister's visit on the radio. ( ABC News: Adam Kennedy )

She was also seven days away from finishing an 18-month good behaviour bond for a domestic violence incident.

In sentencing Holt, Magistrate Rodney Brender said it was unacceptable for citizens to be subject to any degree of violence.

"You can't have people attacking people for their political views physically," he said.

The prosecution had argued the offence was aggravated by the degree of planning that went into the egging, which involved Holt hearing of the Prime Minister's visit on the radio, driving to the supermarket to buy eggs, and then travelling to the event.

The egg grazed Mr Morrison's head but did not break. ( ABC News: Dan Conifer )

But Holt's lawyer said the offending fell "well short of a sophisticated degree of planning".

"This is short of organised criminal activity," he said.

The defence also argued that Holt had significant mental health issues, and had voluntarily left her employment at Cotton On and moved in with her parents in Victoria after the incident to address her health.

Holt was ordered to pay a $110 fine for possessing cannabis at the time of the crime.

Space to play or pause, M to mute, left and right arrows to seek, up and down arrows for volume. Watch Duration: 49 seconds 49 s Holt threw the egg at Mr Morrison at a Country Women's Association conference.

Outside court Ms Holt said she "most definitely'" regretted throwing the egg, and described her sentence as a "fair call".

"What I did was very selfish and stupid," she said.

"I just want to apologise to everyone involved.

"I don't encourage anyone to follow what I did, it's just caused more drama."

Fighting back tears, she said she had been motivated to throw the egg by a desire to draw attention to the plight of refugees on Manus Island.

Amber Holt pleaded guilty this month to egging Mr Morrison during the election campaign. ( AAP: Mark Jesser )

She said she and her family had been the target of threats since the incident.

"It's led to a lot of insults, a lot of threats to my family and loved ones [as well as] myself," Holt said.

"I've had a lot more attention than I've ever had in my life and it's not been great."