How soon is too soon?

Er
How soon is too soon to leave the baby?
So, I was asked to be in my boyfriend's cousin's wedding way before I found out I was pregnant. The wedding is this coming January 2017 and her bachelorette party is the first week of January in Puerto Rico. My due date is around mid October. So my newborn will be three months old and I kind of feel like that's too soon to leave the baby. I really would love to go on this trip, but I don't want to be a drag and miss the baby and feel guilty about being so far away.