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.
Type: objectProperties: 2
Amazon Web ServicesCloud ComputingGame ServersGamingMultiplayerMatchmakingFlex MatchFleetIQ
ResourceCreationLimitPolicy is a JSON Structure definition published by Amazon GameLift, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-gamelift/refs/heads/main/json-structure/gamelift-resource-creation-limit-policy-structure.json",
"name": "ResourceCreationLimitPolicy",
"description": "<p>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.</p> <p>The policy is evaluated when a player tries to create a new game session. On receiving a <code>CreateGameSession</code> request, Amazon GameLift checks that the player (identified by <code>CreatorId</code>) has created fewer than game session limit in the specified time period.</p>",
"type": "object",
"properties": {
"NewGameSessionsPerCreator": {
"allOf": [
{
"$ref": "#/components/schemas/WholeNumber"
},
{
"description": "<p>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.</p> <p>The policy is evaluated when a player tries to create a new game session. On receiving a <code>CreateGameSession</code> request, Amazon GameLift checks that the player (identified by <code>CreatorId</code>) has created fewer than game session limit in the specified time period.</p>"
}
]
},
"PolicyPeriodInMinutes": {
"allOf": [
{
"$ref": "#/components/schemas/WholeNumber"
},
{
"description": "The time span used in evaluating the resource creation limit policy. "
}
]
}
}
}
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.