Declarative or Imperative? Hmm...
I've become a master of the AWS SAM model which specifies the relationships declaratively. Now AWS CDK has come out and it could make some things easier - like keeping pipelines loosely coupled.
First thoughts - it's yet more code to ensure works.
I find the YML templates much more readable.