Tyler Perry reached an agreement with Amazon to write, direct and produce four movies on Prime Video.