Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ResourceCreationLimitPolicy

import type { ResourceCreationLimitPolicy } from "https://aws-api.deno.dev/v0.3/services/gamelift.ts?docs=full";

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, GameLift checks that the player (identified by CreatorId) has created fewer than game session limit in the specified time period.

The resource creation limit policy is included in "FleetAttributes".

interface ResourceCreationLimitPolicy {
NewGameSessionsPerCreator?: number | null;
PolicyPeriodInMinutes?: number | null;
}

§Properties

§
NewGameSessionsPerCreator?: number | null
[src]

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

§
PolicyPeriodInMinutes?: number | null
[src]

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