title: Retrieve the RDS endpoint after invoking lambda function from cloudformation custom resource
body: <p>I built a lambda function in Python to create an RDS instance using Cloudformation custom resource template.
  The lambda and CF code work fine but I am not sure how I can return the endpoint to CF. I don't want to set a while loop within the lambda to look for the endpoint because it isn't very cost-efficient.</p>
  
  <p>What would be the best method to achieve this?</p>