UpdateMatchmakingConfigurationInput
¶
Source code in docs_src/capo_gamelift/types/update_matchmaking_configuration_input.py
acceptance_required
instance-attribute
¶
acceptance_required: NotRequired[BooleanModel]
A flag that indicates whether a match that was created with this configuration must be accepted by the matched players. To require acceptance, set to TRUE. With this option enabled, matchmaking tickets use the status REQUIRES_ACCEPTANCE to indicate when a completed potential match is waiting for player acceptance.
acceptance_timeout_seconds
instance-attribute
¶
acceptance_timeout_seconds: NotRequired[MatchmakingAcceptanceTimeoutInteger]
The length of time (in seconds) to wait for players to accept a proposed match, if acceptance is required.
additional_player_count
instance-attribute
¶
additional_player_count: NotRequired[WholeNumber]
The number of player slots in a match to keep open for future players. For example, if the configuration's rule set specifies a match for a single 12-person team, and the additional player count is set to 2, only 10 players are selected for the match. This parameter is not used if FlexMatchMode is set to STANDALONE.
backfill_mode
instance-attribute
¶
backfill_mode: NotRequired[BackfillMode]
The method that is used to backfill game sessions created with this matchmaking configuration. Specify MANUAL when your game manages backfill requests manually or does not use the match backfill feature. Specify AUTOMATIC to have GameLift create a match backfill request whenever a game session has one or more open slots. Learn more about manual and automatic backfill in Backfill Existing Games with FlexMatch. Automatic backfill is not available when FlexMatchMode is set to STANDALONE.
custom_event_data
instance-attribute
¶
custom_event_data: NotRequired[CustomEventData]
Information to add to all events related to the matchmaking configuration.
description
instance-attribute
¶
description: NotRequired[NonZeroAndMaxString]
A description for the matchmaking configuration.
flex_match_mode
instance-attribute
¶
flex_match_mode: NotRequired[FlexMatchMode]
Indicates whether this matchmaking configuration is being used with Amazon GameLift Servers hosting or as a standalone matchmaking solution.
-
STANDALONE - FlexMatch forms matches and returns match information, including players and team assignments, in a MatchmakingSucceeded event.
-
WITH_QUEUE - FlexMatch forms matches and uses the specified Amazon GameLift Servers queue to start a game session for the match.
game_properties
instance-attribute
¶
game_properties: NotRequired[GamePropertyList]
A set of key-value pairs that can store custom data in a game session. For example: {"Key": "difficulty", "Value": "novice"}. This information is added to the new GameSession object that is created for a successful match. This parameter is not used if FlexMatchMode is set to STANDALONE.
-
Avoid using periods (".") in property keys if you plan to search for game sessions by properties. Property keys containing periods cannot be searched and will be filtered out from search results due to search index limitations.
-
If you use SearchGameSessions API, there is a limit of 500 game property keys across all game sessions and all fleets per region. If the limit is exceeded, there will potentially be game session entries missing from SearchGameSessions API results.
game_session_data
instance-attribute
¶
game_session_data: NotRequired[GameSessionData]
A set of custom game session properties, formatted as a single string value. This data is passed to a game server process with a request to start a new game session. For more information, see Start a game session. This information is added to the game session that is created for a successful match. This parameter is not used if FlexMatchMode is set to STANDALONE.
game_session_queue_arns
instance-attribute
¶
game_session_queue_arns: NotRequired[QueueArnsList]
The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift Servers game session queue resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:. Queues can be located in any Region. Queues are used to start new Amazon GameLift Servers-hosted game sessions for matches that are created with this matchmaking configuration. A matchmaking configuration supports only one queue; if you specify more than one ARN, the request fails with an InvalidRequestException. If FlexMatchMode is set to STANDALONE, do not set this parameter.
name
instance-attribute
¶
name: NotRequired[MatchmakingConfigurationName]
A unique identifier for the matchmaking configuration to update. You can use either the configuration name or ARN value.
notification_target
instance-attribute
¶
notification_target: NotRequired[SnsArnStringModel]
An SNS topic ARN that is set up to receive matchmaking notifications. See Setting up notifications for matchmaking for more information.
request_timeout_seconds
instance-attribute
¶
request_timeout_seconds: NotRequired[MatchmakingRequestTimeoutInteger]
The maximum duration, in seconds, that a matchmaking ticket can remain in process before timing out. Requests that fail due to timing out can be resubmitted as needed.
rule_set_name
instance-attribute
¶
rule_set_name: NotRequired[MatchmakingRuleSetName]
A unique identifier for the matchmaking rule set to use with this configuration. You can use either the rule set name or ARN value. A matchmaking configuration can only use rule sets that are defined in the same Region.