AWS::GameLift::ContainerFleet GameSessionCreationLimitPolicy
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 checks that the player (identified by
CreatorId
) has created fewer than game session limit in the specified
time period.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "NewGameSessionsPerCreator" :
Integer
, "PolicyPeriodInMinutes" :Integer
}
YAML
NewGameSessionsPerCreator:
Integer
PolicyPeriodInMinutes:Integer
Properties
NewGameSessionsPerCreator
-
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 checks that the player (identified byCreatorId
) has created fewer than game session limit in the specified time period.Required: No
Type: Integer
Minimum:
0
Update requires: No interruption
PolicyPeriodInMinutes
-
The time span used in evaluating the resource creation limit policy.
Required: No
Type: Integer
Minimum:
0
Update requires: No interruption