AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Guidelines for use with FlexMatch to match players into games. All matchmaking requests must specify a matchmaking configuration.

Inheritance Hierarchy

System.Object
  Amazon.GameLift.Model.MatchmakingConfiguration

Namespace: Amazon.GameLift.Model
Assembly: AWSSDK.GameLift.dll
Version: 3.x.y.z

Syntax

C#
public class MatchmakingConfiguration

The MatchmakingConfiguration type exposes the following members

Constructors

NameDescription
Public Method MatchmakingConfiguration()

Properties

NameTypeDescription
Public Property AcceptanceRequired System.Boolean

Gets and sets the property AcceptanceRequired.

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. When this option is enabled, matchmaking tickets use the status REQUIRES_ACCEPTANCE to indicate when a completed potential match is waiting for player acceptance.

Public Property AcceptanceTimeoutSeconds System.Int32

Gets and sets the property AcceptanceTimeoutSeconds.

The length of time (in seconds) to wait for players to accept a proposed match, if acceptance is required. If any player rejects the match or fails to accept before the timeout, the ticket continues to look for an acceptable match.

Public Property AdditionalPlayerCount System.Int32

Gets and sets the property AdditionalPlayerCount.

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 10-person team, and the additional player count is set to 2, 10 players will be selected for the match and 2 more player slots will be open for future players. This parameter is not used when FlexMatchMode is set to STANDALONE.

Public Property BackfillMode Amazon.GameLift.BackfillMode

Gets and sets the property BackfillMode.

The method used to backfill game sessions created with this matchmaking configuration. MANUAL indicates that the game makes backfill requests or does not use the match backfill feature. AUTOMATIC indicates that GameLift creates backfill requests 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.

Public Property ConfigurationArn System.String

Gets and sets the property ConfigurationArn.

The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift matchmaking configuration resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:::matchmakingconfiguration/. In a Amazon GameLift configuration ARN, the resource ID matches the Name value.

Public Property CreationTime System.DateTime

Gets and sets the property CreationTime.

A time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").

Public Property CustomEventData System.String

Gets and sets the property CustomEventData.

Information to attach to all events related to the matchmaking configuration.

Public Property Description System.String

Gets and sets the property Description.

A descriptive label that is associated with matchmaking configuration.

Public Property FlexMatchMode Amazon.GameLift.FlexMatchMode

Gets and sets the property FlexMatchMode.

Indicates whether this matchmaking configuration is being used with Amazon GameLift 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 queue to start a game session for the match.

Public Property GameProperties System.Collections.Generic.List<Amazon.GameLift.Model.GameProperty>

Gets and sets the property GameProperties.

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 when FlexMatchMode is set to STANDALONE.

Public Property GameSessionData System.String

Gets and sets the property 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 (see Start a Game Session). This information is added to the new GameSession object that is created for a successful match. This parameter is not used when FlexMatchMode is set to STANDALONE.

Public Property GameSessionQueueArns System.Collections.Generic.List<System.String>

Gets and sets the property GameSessionQueueArns.

The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift game session queue resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:::gamesessionqueue/. Queues can be located in any Region. Queues are used to start new Amazon GameLift-hosted game sessions for matches that are created with this matchmaking configuration. This property is not set when FlexMatchMode is set to STANDALONE.

Public Property Name System.String

Gets and sets the property Name.

A unique identifier for the matchmaking configuration. This name is used to identify the configuration associated with a matchmaking request or ticket.

Public Property NotificationTarget System.String

Gets and sets the property NotificationTarget.

An SNS topic ARN that is set up to receive matchmaking notifications.

Public Property RequestTimeoutSeconds System.Int32

Gets and sets the property RequestTimeoutSeconds.

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.

Public Property RuleSetArn System.String

Gets and sets the property RuleSetArn.

The Amazon Resource Name (ARN) associated with the GameLift matchmaking rule set resource that this configuration uses.

Public Property RuleSetName System.String

Gets and sets the property RuleSetName.

A unique identifier for the matchmaking rule set to use with this configuration. A matchmaking configuration can only use rule sets that are defined in the same Region.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5