setting host too use custom port

can someone explain how to set a custom port for ansible connection
I have a dynamic inventory from AWS, but we have changed the ssh port to none standard. how can I add the information to host(s)

Frnk

have look
Exp;
badwolf.example.com:5309

Doc
https://docs.ansible.com/ansible/latest/user_guide/intro_inventory.html

Regards
Aftab

Thank you , I also found hat one can add a var to the inventory ansible_port: xxxx, or to the host is the hosts are defined with different ports