It might be simpler, from a readability and audit POV to have the policies put together as part of a ManagedPolicy attached to the role, vs having inline policies.
services:
my-app:
x-iam:
UseManagedPolicy: bool
Would effectively allow to have the policies put in a managed one. Default remains to have inline policies.