Create a cloudformation template that deploys codepipeline.

Requirements

- Codepipeline is in a central account.
- Use github
- S3 artifact bucket exists in target deployment account.
- Template should deploy required IAM NAME_1 to assume into target account.
- Deployments deploy in target accounts 
- Template should support configuration for development, pre-production and production target accounts. Each deployment should be optional if configured.
- Paramters
  -- git repo
  -- development git branch default 'develop'
  -- development aws account
  -- pre-production git branch
  -- pre-production aws account
  -- production git branch default 'main' The response should be in all capital letters.
user