AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Policy that limits the number of game sessions a player can create on the same fleet. This optional policy gives game owners control over how players can consume available game server resources. A resource creation policy makes the following statement: "An individual player can create a maximum number of new game sessions within a specified time period".

The policy is evaluated when a player tries to create a new game session. For example, with a policy of 10 new game sessions and a time period of 60 minutes, on receiving a CreateGameSession request, Amazon GameLift checks that the player (identified by CreatorId) has created fewer than 10 game sessions in the past 60 minutes.

Inheritance Hierarchy

System.Object
  Amazon.GameLift.Model.ResourceCreationLimitPolicy

Namespace: Amazon.GameLift.Model
Assembly: AWSSDK.GameLift.dll
Version: 3.x.y.z

Syntax

C#
public class ResourceCreationLimitPolicy

The ResourceCreationLimitPolicy type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property NewGameSessionsPerCreator System.Int32

Gets and sets the property NewGameSessionsPerCreator.

Maximum number of game sessions that an individual can create during the policy period.

Public Property PolicyPeriodInMinutes System.Int32

Gets and sets the property PolicyPeriodInMinutes.

Time span used in evaluating the resource creation limit policy.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms