'My boy!' Sofia Vergara smoulders for the camera as she celebrates Joe Manganiello's birthday in Bora Bora

It's her husband's big day.

And Sofia Vergara looked ready to celebrate as she posed in a hammock with a flower in her hair in Bora Bora, in a photo posted to social media on Thursday.

'Goodnight,' she wrote with the post, giving bedroom eyes to the camera. 

The Modern Family star, 44, visited the French Polynesian island with family while also celebrating the 40th birthday of her husband, Joe Manganiello, on Wednesday.

Sultry starlet: Sofia Vergara looked sultry after the sun went down as she posed in a hammock with a flower in her hair in Bora Bora, in a photo posted to social media on Thursday

Birthday boy! The Modern Family star, 44, visited the French Polynesian island with family while also celebrating the 40th birthday of her husband, Joe Manganiello, on Wednesday

Can't get enough: Sofia said she never wanted to leave in a post to social media on Friday

While her hunky hubby appeared to be taking a sunset photo, Sofia snapped her own picture of Joe's silhouette against an orange and pink sky from behind the scenes.

'My bday boy #nofilter,' she wrote with the post on Wednesday, his actual birthday.

Earlier in the day the actress and model shared an image of the Magic Mike series star looking out to the water from a boat, writing, 'Feliz cumpleaños to my wonderful husband [heart emojis] Te amo!!'

The English translation of the Spanish portions of that caption would have it read, 'Happy birthday to my wonderful husband [heart emojis] I love you!!'

Feeling at home: At times on her trip, the Colombian-American award-winner opted for a more casual look, as she showcased while leaning against a wooden boat

At times on her trip, the Colombian-American award-winner opted for a more casual look, as she showcased while leaning against a wooden boat.

Wearing a simple, black tube top and long, dark printed skirt, Sofia looked at ease and as if she was in her natural habitat in the South Pacific.

'Vacation [wave emoji], dinner time [fish emoji,] she captioned the photo in the laidback outfit that she shared on Friday.

Mother and son: The former Univisión host posed with her son, Manolo Gonzalez Vergara, 24, leaning against the railing on a walkway with overwater bungalow suites in the background

At other times, she dressed it up a bit, showing that style is truly in her genes.

The former Univisión host dressed to impress as she posed with her son, Manolo Gonzalez Vergara, 24, leaning against the railing on a walkway with overwater bungalow suites in the background.

 'Luv this picture of last week at the Four Seasons Hotel with my hijo [son] @manologonzalezvergara [heart exclamation emoji, turtle emoji, wave emoji]],' Sofia wrote with a throwback post on Thursday.

Her son, who made his editorial modeling debut earlier this month with a spread in Paper Magazine, wore a fitted dress shirt with sleeves rolled up to his biceps, dark shorts and boat shoes.

Sofia had on a long ombre dress, transitioning from pastel pink at the top to a deep rose at the bottom, with cap sleeves, a sexy cutout at the left waistline, and open-toed wedge slide-ons.

Pretty in purple: The feature film actor seemed to be relishing every moment among loved ones, shielding her face from the sun's rays with a light tan cowboy hat throughout her stay

Other family members that joined the famous couple on vacation included Joe's brother, Nicholas Manganiello, who is also an actor, his wife Lana and their daughter Gia, and Sofia's sister, Veronica Vergara. 

The feature film actor seemed to be relishing every moment among loved ones, enjoying the sunshine while shielding her face from its rays with a light tan cowboy hat throughout her stay.

'Another day in paradise [turtle emoji, fish emojis],' she captioned a selfie, shared on Wednesday.

Happy as a clam: 'Another day in paradise [turtle emoji, fish emojis],' Sofia captioned a selfie, shared on Wednesday

The comments below have not been moderated.

The views expressed in the contents above are those of our users and do not necessarily reflect the views of MailOnline.

By posting your comment you agree to our house rules.

Who is this week's top commenter? Find out now