$1000 catchup contribution to hsa - is this after tax or before tax?

My wife is over 55 years & I understand she can contribute $1000  to her own HSA.Is the amount "after tax dollars"? In other words can she just write a check for $1000 to her own HSA?

P.S. We file our taxes jointly.