Skip to main content

game_session_queues

Creates, updates, deletes or gets a game_session_queue resource or lists game_session_queues in a region

Overview

Namegame_session_queues
TypeResource
DescriptionThe AWS::GameLift::GameSessionQueue resource creates an Amazon GameLift (GameLift) game session queue.
Idaws.gamelift.game_session_queues

Fields

NameDatatypeDescription
namestringA descriptive label that is associated with game session queue. Queue names must be unique within each Region.
timeout_in_secondsintegerThe maximum time, in seconds, that a new game session placement request remains in the queue.
destinationsarrayA list of fleets and/or fleet aliases that can be used to fulfill game session placement requests in the queue.
player_latency_policiesarrayA set of policies that act as a sliding cap on player latency.
custom_event_datastringInformation that is added to all events that are related to this game session queue.
notification_targetstringAn SNS topic ARN that is set up to receive game session placement notifications.
filter_configurationobjectA list of locations where a queue is allowed to place new game sessions.
priority_configurationobjectCustom settings to use when prioritizing destinations and locations for game session placements.
arnstringThe Amazon Resource Name (ARN) that is assigned to a Amazon GameLift game session queue resource and uniquely identifies it.
tagsarrayAn array of key-value pairs to apply to this resource.
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTName, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all game_session_queues in a region.

SELECT
region,
name,
timeout_in_seconds,
destinations,
player_latency_policies,
custom_event_data,
notification_target,
filter_configuration,
priority_configuration,
arn,
tags
FROM aws.gamelift.game_session_queues
WHERE region = 'us-east-1';

Gets all properties from an individual game_session_queue.

SELECT
region,
name,
timeout_in_seconds,
destinations,
player_latency_policies,
custom_event_data,
notification_target,
filter_configuration,
priority_configuration,
arn,
tags
FROM aws.gamelift.game_session_queues
WHERE region = 'us-east-1' AND data__Identifier = '<Name>';

INSERT example

Use the following StackQL query and manifest file to create a new game_session_queue resource, using stack-deploy.

/*+ create */
INSERT INTO aws.gamelift.game_session_queues (
Name,
region
)
SELECT
'{{ Name }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.gamelift.game_session_queues
WHERE data__Identifier = '<Name>'
AND region = 'us-east-1';

Permissions

To operate on the game_session_queues resource, the following permissions are required:

Create

gamelift:CreateGameSessionQueue,
gamelift:ListTagsForResource,
gamelift:TagResource

Read

gamelift:DescribeGameSessionQueues,
gamelift:ListTagsForResource

Delete

gamelift:DescribeGameSessionQueues,
gamelift:DeleteGameSessionQueue

Update

gamelift:UpdateGameSessionQueue,
gamelift:ListTagsForResource,
gamelift:TagResource,
gamelift:UntagResource

List

gamelift:DescribeGameSessionQueues