GameSessionCreationLimitPolicy
¶
Used by
Source code in docs_src/capo_gamelift/types/game_session_creation_limit_policy.py
new_game_sessions_per_creator
instance-attribute
¶
new_game_sessions_per_creator: NotRequired[WholeNumber]
A policy that puts limits on the number of game sessions that a player can create within a specified span of time. With this policy, you can control players' ability to consume available resources.
The policy evaluates when a player tries to create a new game session. On receiving a CreateGameSession request, Amazon GameLift Servers checks that the player (identified by CreatorId) has created fewer than the game session limit in the specified time period.
policy_period_in_minutes
instance-attribute
¶
policy_period_in_minutes: NotRequired[WholeNumber]
The time span used in evaluating the resource creation limit policy.