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.
Idawscc.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.

For more information, see AWS::GameLift::GameSessionQueue.

Methods

NameResourceAccessible byRequired Params
create_resourcegame_session_queuesINSERTName, region
delete_resourcegame_session_queuesDELETEIdentifier, region
update_resourcegame_session_queuesUPDATEIdentifier, PatchDocument, region
list_resourcesgame_session_queues_list_onlySELECTregion
get_resourcegame_session_queuesSELECTIdentifier, region

SELECT examples

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 awscc.gamelift.game_session_queues
WHERE
region = 'us-east-1' AND
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 awscc.gamelift.game_session_queues (
Name,
region
)
SELECT
'{{ name }}',
'{{ region }}';

UPDATE example

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

/*+ update */
UPDATE awscc.gamelift.game_session_queues
SET PatchDocument = string('{{ {
"TimeoutInSeconds": timeout_in_seconds,
"Destinations": destinations,
"PlayerLatencyPolicies": player_latency_policies,
"CustomEventData": custom_event_data,
"NotificationTarget": notification_target,
"FilterConfiguration": filter_configuration,
"PriorityConfiguration": priority_configuration,
"Tags": tags
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ name }}';

DELETE example

/*+ delete */
DELETE FROM awscc.gamelift.game_session_queues
WHERE
Identifier = '{{ name }}' AND
region = 'us-east-1';

Permissions

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

gamelift:CreateGameSessionQueue,
gamelift:DescribeGameSessionQueues,
gamelift:ListTagsForResource,
gamelift:TagResource