code: def setup_parameters(self):
          
          t = self.template
          parameters = self.get_parameter_definitions()
  
          if not parameters:
              logger.debug("No parameters defined.")
              return
  
          for name, attrs in parameters.items():
              p = build_parameter(name, attrs)
              t.add_parameter(p)
docs: Add any CloudFormation parameters to the template