class Aws::GameLift::Types::PlayerLatencyPolicy

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.

Latency policies are part of a GameSessionQueue.

@note When making an API call, you may pass PlayerLatencyPolicy

data as a hash:

    {
      maximum_individual_player_latency_milliseconds: 1,
      policy_duration_seconds: 1,
    }

@!attribute [rw] maximum_individual_player_latency_milliseconds

The maximum latency value that is allowed for any player, in
milliseconds. All policies must have a value set for this property.
@return [Integer]

@!attribute [rw] policy_duration_seconds

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.
@return [Integer]

@see docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/PlayerLatencyPolicy AWS API Documentation

Constants

SENSITIVE