THE TIMES THEY ARE A-CHANGIN’: Melania Trump signs documentary deal with Amazon for whopping sum — with cameos from Barron and Donald.

Former and future first lady Melania Trump has inked an eye-popping $40 million deal with Amazon to license a documentary on her life — with cameos from her husband, Donald, and son, Barron.

The documentary, directed by “Rush Hour” auteur Brett Ratner, is set to be released later this year — with one source close to the agreement suggesting it could spawn multiple projects.

The hefty price tag was first reported by Puck News and covers the rights to projects involving Mrs. Trump over the next four years.

Page Six has learned that Disney was also in the running and bid $14 million, only to be swamped by the internet giant.

Amazon and Disney in a bidding war over the first lady who couldn’t even get a fashion mag cover during her husband’s first administration?

Yuge.