When you've got it, flaunt it!

Sofia Vergara took a break from promoting her new chic clothing line at Kmart and kicked back for some R&R at a Palmilla, Los Cabos, Mexico resort.

PHOTOS: More stars in little black bikinis

The Modern Family actress uploaded this pic of her enjoying some fun in the sun while clad in a teeny black bikini to her WhoSay account October 20.

"Ciao ciao One&Only Palmilla!!! It was amazing! Te quiero Mexico," the native Colombian beauty wrote.

PHOTOS: The sexiest celebrity beach bodies

The 39-year-old brunette stunner isn't shy when it comes to flaunting her bombshell curves, but follows key style rules that allow her to show off her assets tastefully.

PHOTOS: Us Weekly's hottest bodies of 2011

"In my 20s, I would have on a miniskirt and the boobs," the mom-of-one told USA Today in August. "Now, if I'm doing something short, I try to cover up [on top]. I'm almost 40, so I had to evolve — it's natural. I love tight dresses, but I don't do tight and short. I do tight and long."

Get more Us! Follow us on Twitter, Friend us on Facebook, Subscribe to Us Weekly