Sets a latency cap for individual players when placing a game session. With a latency policy in force, a game session cannot be placed in a fleet location where a player reports latency higher than the cap. Latency policies are used only with placement request that provide player latency information. Player latency policies can be stacked to gradually relax latency requirements over time.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-gamelift/refs/heads/main/json-schema/gamelift-player-latency-policy-schema.json",
"title": "PlayerLatencyPolicy",
"description": "Sets a latency cap for individual players when placing a game session. With a latency policy in force, a game session cannot be placed in a fleet location where a player reports latency higher than the cap. Latency policies are used only with placement request that provide player latency information. Player latency policies can be stacked to gradually relax latency requirements over time. ",
"type": "object",
"properties": {
"MaximumIndividualPlayerLatencyMilliseconds": {
"allOf": [
{
"$ref": "#/components/schemas/WholeNumber"
},
{
"description": "The maximum latency value that is allowed for any player, in milliseconds. All policies must have a value set for this property."
}
]
},
"PolicyDurationSeconds": {
"allOf": [
{
"$ref": "#/components/schemas/WholeNumber"
},
{
"description": "The length of time, in seconds, that the policy is enforced while placing a new game session. A null value for this property means that the policy is enforced until the queue times out."
}
]
}
}
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.