Class: Aws::GameLift::Types::GameSessionCreationLimitPolicy
- Inherits:
-
Struct
- Object
- Struct
- Aws::GameLift::Types::GameSessionCreationLimitPolicy
- Defined in:
- gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb
Overview
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 is evaluated 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.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#new_game_sessions_per_creator ⇒ Integer
A policy that puts limits on the number of game sessions that a player can create within a specified span of time.
-
#policy_period_in_minutes ⇒ Integer
The time span used in evaluating the resource creation limit policy.
Instance Attribute Details
#new_game_sessions_per_creator ⇒ Integer
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.
7470 7471 7472 7473 7474 7475 |
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 7470 class GameSessionCreationLimitPolicy < Struct.new( :new_game_sessions_per_creator, :policy_period_in_minutes) SENSITIVE = [] include Aws::Structure end |
#policy_period_in_minutes ⇒ Integer
The time span used in evaluating the resource creation limit policy.
7470 7471 7472 7473 7474 7475 |
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 7470 class GameSessionCreationLimitPolicy < Struct.new( :new_game_sessions_per_creator, :policy_period_in_minutes) SENSITIVE = [] include Aws::Structure end |