Amazon has never offered a database service based on the MongoDB server software. Not when it was AGPLv3 nor when it was SSPLv1.
It implemented a wire protocol for interoperability purposes, similar to functionality in IBM DB2, Azure CosmosDB, FerretDB, and other databases.