Class QueuedMatchmakingConfiguration

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.gamelift.alpha.MatchmakingConfigurationBase
software.amazon.awscdk.services.gamelift.alpha.QueuedMatchmakingConfiguration
All Implemented Interfaces:
IResource, IMatchmakingConfiguration, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-06T23:25:18.876Z") @Stability(Experimental) public class QueuedMatchmakingConfiguration extends MatchmakingConfigurationBase
(experimental) A FlexMatch matchmaker process does the work of building a game match.

It manages the pool of matchmaking requests received, forms teams for a match, processes and selects players to find the best possible player groups, and initiates the process of placing and starting a game session for the match. This topic describes the key aspects of a matchmaker and how to configure one customized for your game.

Example:

 GameSessionQueue queue;
 MatchmakingRuleSet ruleSet;
 QueuedMatchmakingConfiguration.Builder.create(this, "QueuedMatchmakingConfiguration")
         .matchmakingConfigurationName("test-queued-config-name")
         .gameSessionQueues(List.of(queue))
         .ruleSet(ruleSet)
         .build();
 

See Also:
  • Constructor Details

    • QueuedMatchmakingConfiguration

      protected QueuedMatchmakingConfiguration(software.amazon.jsii.JsiiObjectRef objRef)
    • QueuedMatchmakingConfiguration

      protected QueuedMatchmakingConfiguration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • QueuedMatchmakingConfiguration

      @Stability(Experimental) public QueuedMatchmakingConfiguration(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull QueuedMatchmakingConfigurationProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.
  • Method Details

    • fromQueuedMatchmakingConfigurationArn

      @Stability(Experimental) @NotNull public static IMatchmakingConfiguration fromQueuedMatchmakingConfigurationArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String matchmakingConfigurationArn)
      (experimental) Import an existing matchmaking configuration from its ARN.

      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      matchmakingConfigurationArn - This parameter is required.
    • fromQueuedMatchmakingConfigurationName

      @Stability(Experimental) @NotNull public static IMatchmakingConfiguration fromQueuedMatchmakingConfigurationName(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String matchmakingConfigurationName)
      (experimental) Import an existing matchmaking configuration from its name.

      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      matchmakingConfigurationName - This parameter is required.
    • addGameSessionQueue

      @Stability(Experimental) public void addGameSessionQueue(@NotNull IGameSessionQueue gameSessionQueue)
      (experimental) Adds a game session queue destination to the matchmaking configuration.

      Parameters:
      gameSessionQueue - A game session queue. This parameter is required.
    • getMatchmakingConfigurationArn

      @Stability(Experimental) @NotNull public String getMatchmakingConfigurationArn()
      (experimental) The ARN of the matchmaking configuration.
      Specified by:
      getMatchmakingConfigurationArn in interface IMatchmakingConfiguration
      Specified by:
      getMatchmakingConfigurationArn in class MatchmakingConfigurationBase
    • getMatchmakingConfigurationName

      @Stability(Experimental) @NotNull public String getMatchmakingConfigurationName()
      (experimental) The name of the matchmaking configuration.
      Specified by:
      getMatchmakingConfigurationName in interface IMatchmakingConfiguration
      Specified by:
      getMatchmakingConfigurationName in class MatchmakingConfigurationBase
    • getNotificationTarget

      @Stability(Experimental) @Nullable public ITopic getNotificationTarget()
      (experimental) The notification target for matchmaking events.
      Specified by:
      getNotificationTarget in interface IMatchmakingConfiguration
      Specified by:
      getNotificationTarget in class MatchmakingConfigurationBase