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.

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.

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.

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.

Public Property PolicyPeriodInMinutes System.Int32

Gets and sets the property PolicyPeriodInMinutes.

The time span used in evaluating the resource creation limit policy.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5