Eventbridge serverless

If I want to send events from my application to the eventbridge, docs clearly says to create eventbus, but i didnt find how to connect to my application to that bus to receive events.
i am clear about request format to be sent to eventbridge.
But im not clarified on parameters like source.
how it should be defined???
Is yml file is the one i need to write to coonect my application to eventbus which contains bus name and source??

Hi ch. This should help you out: https://serverless.com/framework/docs/providers/aws/events/event-bridge/#eventbridge-event

Hi garethmcc
Thanks for reply…
If im not wrong source is the attribute which we customly define?

It would be very helpful if any one posts sample connecting code in python or any reference.