Amazon.com Inc. (AMZN) is cutting deals to comply with Chinese law.

The company has sold about $301 million worth of "certain physical infrastructure assets" to Beijing Sinnet Technology, the Beijing-based internet services firm said in a regulatory filing Monday, Nov. 13.

But Amazon made it clear that it has no plans to fully exit its China Amazon Web Services business anytime soon. In a statement to TechCrunch, Amazon said it did not sell all of its AWS business in China and "remains fully committed to ensuring Chinese customers continue to receive AWS's industry leading cloud services."

Amazon said it sold "certain physical infrastructure assets" to Sinnet in order to comply with Chinese law that forbids non-Chinese companies from owning or operating some kinds of cloud services technologies in the country.

Amazon signed a deal with Sinnet in August 2016 to provide AWS services for China after the company launched its cloud services there in 2014. Sinnet said the pending purchase would help it to "comply with China's laws to further improve the company's AWS cloud services."

Amazon stock gained 0.26% to $1,132.06 in premarket trading Tuesday.

More of What's Trending on TheStreet:

More from Stocks

Your Need to Know - Forward Look

Your Need to Know - Forward Look

A Guide to Investing in the Fast-Emerging Cannabis Industry

A Guide to Investing in the Fast-Emerging Cannabis Industry

Cramer: Amazon Will Be an 'Outsized Winner' When Consumer Trends Shift Online

Cramer: Amazon Will Be an 'Outsized Winner' When Consumer Trends Shift Online

EBay Stock Tumbles 8.9% to Hit Lowest Level in Nearly 2 Years

EBay Stock Tumbles 8.9% to Hit Lowest Level in Nearly 2 Years

Disney Is One of Jim Cramer's 10 Best Stocks for a Market Pullback

Disney Is One of Jim Cramer's 10 Best Stocks for a Market Pullback