Experimental
@aws-cdk/aws-gamelift-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
GameSessionQueueAttributes Struct
A full specification of an gameSessionQueue that can be used to import it fluently into the CDK application.
| Stability | Experimental |
|---|---|
| Source | lib/game-session-queue.ts |
Example
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
# 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
// 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();
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"
};
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
gameSessionQueueArnoptionalstringgame_session_queue_arnoptionalstrgameSessionQueueArnoptionalStringGameSessionQueueArnoptionalstringGameSessionQueueArnoptional*string #The ARN of the gameSessionQueue.
Default: derived from gameSessionQueueName.
At least one of gameSessionQueueArn and gameSessionQueueName must be provided.
gameSessionQueueNameoptionalstringgame_session_queue_nameoptionalstrgameSessionQueueNameoptionalStringGameSessionQueueNameoptionalstringGameSessionQueueNameoptional*string #The name of the gameSessionQueue.
Default: derived from gameSessionQueueArn.
At least one of gameSessionQueueName and gameSessionQueueArn must be provided.