AWS Security ChangesHomeSearch

AWS gameliftservers documentation change

Service: gameliftservers · 2025-11-07 · Documentation low

File: gameliftservers/latest/developerguide/realtime-script-callbacks.md

Summary

Removed detailed documentation about Realtime script callbacks including Init, onMessage, onHealthCheck, and other event handlers. Deleted syntax examples and operational guidance for server-side scripting.

Security assessment

The changes remove technical documentation but do not indicate any security vulnerability being addressed. While some callbacks like onHealthCheck and player connection handlers relate to operational reliability, their removal from docs doesn't demonstrate a security fix. No CVE, vulnerability disclosure, or security advisory is referenced.

Diff

diff --git a/gameliftservers/latest/developerguide/realtime-script-callbacks.md b/gameliftservers/latest/developerguide/realtime-script-callbacks.md
index f3dba2360..8b1378917 100644
--- a//gameliftservers/latest/developerguide/realtime-script-callbacks.md
+++ b//gameliftservers/latest/developerguide/realtime-script-callbacks.md
@@ -1 +0,0 @@
-[](/pdfs/gameliftservers/latest/developerguide/gameliftservers-dg.pdf#realtime-script-callbacks "Open PDF")
@@ -3,146 +1,0 @@
-[Documentation](/index.html)[Amazon GameLift Servers](/gameliftservers/index.html)[Hosting Guide](gamelift-intro.html)
-
-InitonMessageonHealthCheckonStartGameSessiononProcessTerminateonPlayerConnectonPlayerAcceptedonPlayerDisconnectonProcessStartedonSendToPlayeronSendToGrouponPlayerJoinGrouponPlayerLeaveGroup
-
-# Script callbacks for Amazon GameLift Servers Realtime
-
-You can provide custom logic to respond to events by implementing these callbacks in your Realtime script.
-
-## Init
-
-Initializes the Realtime server and receives a Realtime server interface. 
-
-### Syntax
-    
-    
-    init(rtsession)
-
-## onMessage
-
-Invoked when a received message is sent to the server. 
-
-### Syntax
-    
-    
-    onMessage(gameMessage)
-
-## onHealthCheck
-
-Invoked to set the status of the game session health. By default, health status is healthy (or `true`. This callback can be implemented to perform custom health checks and return a status.
-
-### Syntax
-    
-    
-    onHealthCheck()
-
-## onStartGameSession
-
-Invoked when a new game session starts, with a game session object passed in.
-
-### Syntax
-    
-    
-    onStartGameSession(session)
-
-## onProcessTerminate
-
-Invoked when the server process is being terminated by the Amazon GameLift Servers service. This can act as a trigger to exit cleanly from the game session. There is no need to call `processEnding().`
-
-### Syntax
-    
-    
-    onProcessTerminate()
-
-## onPlayerConnect
-
-Invoked when a player requests a connection and has passed initial validation. 
-
-### Syntax
-    
-    
-    onPlayerConnect(connectMessage)
-
-## onPlayerAccepted
-
-Invoked when a player connection is accepted.
-
-### Syntax
-    
-    
-    onPlayerAccepted(player)
-
-## onPlayerDisconnect
-
-Invoked when a player disconnects from the game session, either by sending a disconnect request or by other means.
-
-### Syntax
-    
-    
-    onPlayerDisconnect(peerId)
-
-## onProcessStarted
-
-Invoked when a server process is started. This callback allows the script to perform any custom tasks needed to prepare to host a game session. 
-
-### Syntax
-    
-    
-    onProcessStarted(args)
-
-## onSendToPlayer
-
-Invoked when a message is received on the server from one player to be delivered to another player. This process runs before the message is delivered. 
-
-### Syntax
-    
-    
-    onSendToPlayer(gameMessage)
-
-## onSendToGroup
-
-Invoked when a message is received on the server from one player to be delivered to a group. This process runs before the message is delivered. 
-
-### Syntax
-    
-    
-    onSendToGroup(gameMessage))
-
-## onPlayerJoinGroup
-
-Invoked when a player sends a request to join a group.
-
-### Syntax
-    
-    
-    onPlayerJoinGroup(groupId, peerId)
-
-## onPlayerLeaveGroup
-
-Invoked when a player sends a request to leave a group.
-
-### Syntax
-    
-    
-    onPlayerLeaveGroup(groupId, peerId)
-
-![Warning](https://d1ge0kk1l5kms0.cloudfront.net/images/G/01/webservices/console/warning.png) **Javascript is disabled or is unavailable in your browser.**
-
-To use the Amazon Web Services Documentation, Javascript must be enabled. Please refer to your browser's Help pages for instructions.
-
-[Document Conventions](/general/latest/gr/docconventions.html)
-
-Realtime script reference
-
-Next
-
-Did this page help you? - Yes
-
-Thanks for letting us know we're doing a good job!
-
-If you've got a moment, please tell us what we did right so we can do more of it.
-
-Did this page help you? - No
-
-Thanks for letting us know this page needs work. We're sorry we let you down.
-
-If you've got a moment, please tell us how we can make the documentation better.