Skip to content

PlayerLatencyPolicy

Source code in docs_src/capo_gamelift/types/player_latency_policy.py
class PlayerLatencyPolicy(TypedDict, closed=True):
    maximum_individual_player_latency_milliseconds: NotRequired[
        "capo_gamelift.types.whole_number.WholeNumber"
    ]
    """<p>The maximum latency value that is allowed for any player, in milliseconds. All policies must have a value set for this property.</p>"""
    policy_duration_seconds: NotRequired["capo_gamelift.types.whole_number.WholeNumber"]
    """<p>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.</p>"""

maximum_individual_player_latency_milliseconds instance-attribute

maximum_individual_player_latency_milliseconds: NotRequired[WholeNumber]

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

policy_duration_seconds instance-attribute

policy_duration_seconds: NotRequired[WholeNumber]

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.