Washington (CNN) Iowa GOP Sen. Joni Ernst said with just days remaining until the funding deadline for key agencies that she would prefer no government shutdown over President Donald Trump's wall.

Asked on CNN's "State of the Union" Sunday about the prospect Trump would refuse to budge on his demand, Ernst said, "I would rather that he didn't."

"But we also understand that our constituents have stated quite clearly that they want to see our border protected," she added. "The President has been quite clear for a number of years. We need to do our best as well in Congress to make sure that we are protecting our nation and following up on the President's promises."

Ernst, who was recently named a member of Senate Republican leadership, said she hoped to see a path forward that kept the government running ahead of a December 7 deadline to fund the Department of Homeland Security, among other agencies.

"I do not want to see the government shut down," Ernst said. "Again, if we can avoid that situation, we absolutely need to do that."

Read More