> **Experimental**
>
> `@aws-cdk/aws-gamelift-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# IGameSessionQueue

Represents a Gamelift GameSessionQueue for a Gamelift fleet destination.

Extends: IGameSessionQueue
Extends: IResource
Implemented by: GameSessionQueue, GameSessionQueueBase

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`lib/game-session-queue.ts`](https://github.com/aws/aws-cdk/blob/v2.273.0-alpha.0/packages/@aws-cdk/aws-gamelift-alpha/lib/game-session-queue.ts#L100)

## Properties

- `env`: [ResourceEnvironment](/cdk/api/v2/docs/aws-cdk-lib.interfaces.ResourceEnvironment.html) (required) — The environment this resource belongs to.

  For resources that are created and managed in a Stack (those created by
  creating new class instances like `new Role()`, `new Bucket()`, etc.), this
  is always the same as the environment of the stack they belong to.

  For referenced resources (those obtained from referencing methods like
  `Role.fromRoleArn()`, `Bucket.fromBucketName()`, etc.), they might be
  different than the stack they were imported into.

- `gameSessionQueueArn`: string (required) — The ARN of the gameSessionQueue.

- `gameSessionQueueName`: string (required) — The Name of the gameSessionQueue.

- `node`: [Node](/cdk/api/v2/docs/constructs.Node.html) (required) — The tree node.

- `stack`: [Stack](/cdk/api/v2/docs/aws-cdk-lib.Stack.html) (required) — The stack in which this resource is defined.

## Methods

- `applyRemovalPolicy(policy: RemovalPolicy): void` — Apply the given removal policy to this resource.

  The Removal Policy controls what happens to this resource when it stops
  being managed by CloudFormation, either because you've removed it from the
  CDK application or because you've made a change that requires the resource
  to be replaced.

  The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS
  account for data recovery and cleanup later (`RemovalPolicy.RETAIN`).

- `metric(metricName: string, props?: MetricOptions): Metric` — Return the given named metric for this fleet.

- `metricAverageWaitTime(props?: MetricOptions): Metric` — Average amount of time that game session placement requests in the queue with status PENDING have been waiting to be fulfilled.

- `metricPlacementsCanceled(props?: MetricOptions): Metric` — Game session placement requests that were canceled before timing out since the last report.

- `metricPlacementsFailed(props?: MetricOptions): Metric` — Game session placement requests that failed for any reason since the last report.

- `metricPlacementsStarted(props?: MetricOptions): Metric` — New game session placement requests that were added to the queue since the last report.

- `metricPlacementsSucceeded(props?: MetricOptions): Metric` — Game session placement requests that resulted in a new game session since the last report.

- `metricPlacementsTimedOut(props?: MetricOptions): Metric` — Game session placement requests that reached the queue's timeout limit without being fulfilled since the last report.

- `with(...mixins: IMixin[]): IConstruct` — Applies one or more mixins to this construct.

  Mixins are applied in order. The list of constructs is captured at the
  start of the call, so constructs added by a mixin will not be visited.

  **Parameters**

  - `mixins` — The mixins to apply.

  **Returns:** This construct for chaining
