Washington (CNN): Defense Secretary Ash Carter on Friday warned China against aggression in the South China Sea, saying the nation is bucking positive regional cooperation in Asia in pursuit of its own ambitions.

Carter, lauding how the U.S. and the Asia-Pacific region were making strides, had stern words for China at the IISS Shangri-La Dialogue in Singapore, an annual conference addressing security in the Asia-Pacific region.
«China's actions in the South China Sea are isolating it at a time when the entire region is coming together and networking," Carter said. "Unfortunately, if these actions continue, China could end up erecting a Great Wall of self-isolation».

China and various nations in southeast Asia all make claims to various waters in the sea, which has set off a number of flashpoints and standoffs in recent years. The U.S. has protested China's shows of force in the region.