Set up FlexMatch event notifications
You can use event notifications to track the status of individual matchmaking requests. All games in production, or in pre-production with high-volume matchmaking activity should use event notifications.
There are two options for setting up event notifications.
-
Have your matchmaker publish event notifications to an Amazon Simple Notification Service (Amazon SNS) topic.
-
Use automatically published Amazon EventBridge events and its suite of tools for managing events.
For a list of the FlexMatch events that Amazon GameLift emits, see FlexMatch matchmaking events.
Topics
Set up EventBridge events
Amazon GameLift automatically posts all matchmaking events to Amazon EventBridge. With EventBridge, you can set up rules to have matchmaking events routed to targets for processing. For example, you can set a rule to route the event "PotentialMatchCreated" to an Amazon Lambda function that handles player acceptances. For more information, see What is Amazon EventBridge?
Note
When you configure your matchmakers, keep the notification target field empty or reference an SNS topic if you want to use both EventBridge and Amazon SNS.