RDS instance serverless deploy output info

Hello there,
newbie here.
I would like to know if there is a way to save the output of deployment of a AWS RDS instance resource. I would need the hostname of the database just created in the deployment, so that I can use it for connect through my environment.
It is possible to do with the lambda function http event because it returns the endpoint of the api just created.
I wonder how I can automate the process of creating the db instance and store the parameters (host in particular) for later use in the same stack.
Thank you

You can create the RDS instance by adding CloudFormation into your resources section. You can then use Get::Att to find the hostname.