Skip to content
v2.278.0

GameSessionQueueReference Struct ​

A reference to a GameSessionQueue resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_gamelift as interfaces_gamelift } from 'aws-cdk-lib/interfaces';
const gameSessionQueueReference: interfaces_gamelift.GameSessionQueueReference = {
  gameSessionQueueArn: 'gameSessionQueueArn',
  gameSessionQueueName: 'gameSessionQueueName',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_gamelift as interfaces_gamelift

game_session_queue_reference = interfaces_gamelift.GameSessionQueueReference(
    game_session_queue_arn="gameSessionQueueArn",
    game_session_queue_name="gameSessionQueueName"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.gamelift.*;

GameSessionQueueReference gameSessionQueueReference = GameSessionQueueReference.builder()
        .gameSessionQueueArn("gameSessionQueueArn")
        .gameSessionQueueName("gameSessionQueueName")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.GameLift;

var gameSessionQueueReference = new GameSessionQueueReference {
    GameSessionQueueArn = "gameSessionQueueArn",
    GameSessionQueueName = "gameSessionQueueName"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

gameSessionQueueReference := &GameSessionQueueReference{
	GameSessionQueueArn: jsii.String("gameSessionQueueArn"),
	GameSessionQueueName: jsii.String("gameSessionQueueName"),
}

Properties ​

gameSessionQueueArnstringgame_session_queue_arnstrgameSessionQueueArnStringGameSessionQueueArnstringGameSessionQueueArn*string required #
The ARN of the GameSessionQueue resource.
gameSessionQueueNamestringgame_session_queue_namestrgameSessionQueueNameStringGameSessionQueueNamestringGameSessionQueueName*string required #
The Name of the GameSessionQueue resource.