Longoria and Bastón, president of Latin America media brand Televisa, got married in a sunset ceremony in Valle de Bravo, Mexico, a lakeside town outside of Mexico City.
"They married on an altar under lots of little lights," a source told WHO of the ceremony. "It was very romantic. Eva wore her hair down and smiled during the whole ceremony. He was in a gray suit."
Beckham, who designed Longoria's white wedding dress, congratulated the actress on Instagram.
"The smartest, most beautiful woman I have ever met," she wrote. "I feel honored to call you my friend X Such a wonderful day filled with Love X We love Pepe so much!!!"
Ahead of the ceremony, Bastón and the Beckhams spent the day hanging out by the pool. "Eva just looked so happy," the source told WHO. "She didn't seem the least stressed about her wedding. You could tell that she very much she enjoyed celebrating her special day with friends."