Interface CfnGameSessionQueue.PlayerLatencyPolicyProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGameSessionQueue.PlayerLatencyPolicyProperty.Jsii$Proxy
- Enclosing class:
CfnGameSessionQueue
@Stability(Stable)
public static interface CfnGameSessionQueue.PlayerLatencyPolicyProperty
extends software.amazon.jsii.JsiiSerializable
The queue setting that determines the highest latency allowed for individual players when placing a game session.
When a latency policy is in force, a game session cannot be placed with any fleet in a Region where a player reports latency higher than the cap. Latency policies are only enforced when the placement request contains player latency information.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.gamelift.*; PlayerLatencyPolicyProperty playerLatencyPolicyProperty = PlayerLatencyPolicyProperty.builder() .maximumIndividualPlayerLatencyMilliseconds(123) .policyDurationSeconds(123) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnGameSessionQueue.PlayerLatencyPolicyProperty
static final class
An implementation forCfnGameSessionQueue.PlayerLatencyPolicyProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMaximumIndividualPlayerLatencyMilliseconds
The maximum latency value that is allowed for any player, in milliseconds.All policies must have a value set for this property.
- See Also:
-
getPolicyDurationSeconds
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.
- See Also:
-
builder
-