import { _PlayerLatencyPolicy, _UnmarshalledPlayerLatencyPolicy } from "./_PlayerLatencyPolicy"; import { _GameSessionQueueDestination, _UnmarshalledGameSessionQueueDestination } from "./_GameSessionQueueDestination"; /** *

Configuration of a queue that is used to process game session placement requests. The queue configuration identifies several game features:

*/ export interface _GameSessionQueue { /** *

Descriptive label that is associated with game session queue. Queue names must be unique within each region.

*/ Name?: string; /** *

Amazon Resource Name (ARN) that is assigned to a game session queue and uniquely identifies it. Format is arn:aws:gamelift:<region>:<aws account>:gamesessionqueue/<queue name>.

*/ GameSessionQueueArn?: string; /** *

Maximum time, in seconds, that a new game session placement request remains in the queue. When a request exceeds this time, the game session placement changes to a TIMED_OUT status.

*/ TimeoutInSeconds?: number; /** *

Collection of latency policies to apply when processing game sessions placement requests with player latency information. Multiple policies are evaluated in order of the maximum latency value, starting with the lowest latency values. With just one policy, it is enforced at the start of the game session placement for the duration period. With multiple policies, each policy is enforced consecutively for its duration period. For example, a queue might enforce a 60-second policy followed by a 120-second policy, and then no policy for the remainder of the placement.

*/ PlayerLatencyPolicies?: Array<_PlayerLatencyPolicy> | Iterable<_PlayerLatencyPolicy>; /** *

List of fleets that can be used to fulfill game session placement requests in the queue. Fleets are identified by either a fleet ARN or a fleet alias ARN. Destinations are listed in default preference order.

*/ Destinations?: Array<_GameSessionQueueDestination> | Iterable<_GameSessionQueueDestination>; } export interface _UnmarshalledGameSessionQueue extends _GameSessionQueue { /** *

Collection of latency policies to apply when processing game sessions placement requests with player latency information. Multiple policies are evaluated in order of the maximum latency value, starting with the lowest latency values. With just one policy, it is enforced at the start of the game session placement for the duration period. With multiple policies, each policy is enforced consecutively for its duration period. For example, a queue might enforce a 60-second policy followed by a 120-second policy, and then no policy for the remainder of the placement.

*/ PlayerLatencyPolicies?: Array<_UnmarshalledPlayerLatencyPolicy>; /** *

List of fleets that can be used to fulfill game session placement requests in the queue. Fleets are identified by either a fleet ARN or a fleet alias ARN. Destinations are listed in default preference order.

*/ Destinations?: Array<_UnmarshalledGameSessionQueueDestination>; }