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

A full specification of an gameSessionQueue that can be used to import it fluently into the CDK application.

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

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as gamelift_alpha from '@aws-cdk/aws-gamelift-alpha';
const gameSessionQueueAttributes: gamelift_alpha.GameSessionQueueAttributes = {
  gameSessionQueueArn: 'gameSessionQueueArn',
  gameSessionQueueName: 'gameSessionQueueName',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_gamelift_alpha as gamelift_alpha

game_session_queue_attributes = gamelift_alpha.GameSessionQueueAttributes(
    game_session_queue_arn="gameSessionQueueArn",
    game_session_queue_name="gameSessionQueueName"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.gamelift.alpha.*;

GameSessionQueueAttributes gameSessionQueueAttributes = GameSessionQueueAttributes.builder()
        .gameSessionQueueArn("gameSessionQueueArn")
        .gameSessionQueueName("gameSessionQueueName")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.AWS.GameLift.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.GameLift.Alpha;

var gameSessionQueueAttributes = new GameSessionQueueAttributes {
    GameSessionQueueArn = "gameSessionQueueArn",
    GameSessionQueueName = "gameSessionQueueName"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdkgameliftalpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import gamelift_alpha "github.com/aws/aws-cdk-go/awscdkgameliftalpha"

gameSessionQueueAttributes := &GameSessionQueueAttributes{
	GameSessionQueueArn: jsii.String("gameSessionQueueArn"),
	GameSessionQueueName: jsii.String("gameSessionQueueName"),
}
```

## Properties

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

  **Default:** derived from `gameSessionQueueName`.

  At least one of `gameSessionQueueArn` and `gameSessionQueueName` must be provided.

- `gameSessionQueueName`: string — The name of the gameSessionQueue.

  **Default:** derived from `gameSessionQueueArn`.

  At least one of `gameSessionQueueName` and `gameSessionQueueArn`  must be provided.
