How can the developer decrypt the data that was encrypted by the CMK?
Request support from AWS to recover the deleted key material.
Create a new CMK. Use the new CMK to decrypt the data.
Use the CMK without the key material.
Reimport the same key material to the CMK.
Explanations:
AWS cannot recover deleted key material. Once the key material is deleted, it is permanently lost.
A new CMK will not help decrypt the data because the original encryption was done with the deleted key material.
A CMK without key material cannot decrypt data, as it needs key material to perform encryption and decryption.
Reimporting the same key material to the CMK allows the developer to use it to decrypt the data, as the original encryption was performed with that specific key material.