MatchmakingConfigurationArgs

data class MatchmakingConfigurationArgs(val acceptanceRequired: Output<Boolean>? = null, val acceptanceTimeoutSeconds: Output<Int>? = null, val additionalPlayerCount: Output<Int>? = null, val backfillMode: Output<String>? = null, val customEventData: Output<String>? = null, val description: Output<String>? = null, val flexMatchMode: Output<String>? = null, val gameProperties: Output<List<MatchmakingConfigurationGamePropertyArgs>>? = null, val gameSessionData: Output<String>? = null, val gameSessionQueueArns: Output<List<String>>? = null, val name: Output<String>? = null, val notificationTarget: Output<String>? = null, val requestTimeoutSeconds: Output<Int>? = null, val ruleSetName: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<MatchmakingConfigurationArgs>

Provides a GameLift Alias resource.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.gamelift.GameSessionQueue;
import com.pulumi.aws.gamelift.GameSessionQueueArgs;
import com.pulumi.aws.gamelift.inputs.GameSessionQueuePlayerLatencyPolicyArgs;
import com.pulumi.aws.gamelift.MatchmakingRuleSet;
import com.pulumi.aws.gamelift.MatchmakingRuleSetArgs;
import com.pulumi.aws.gamelift.MatchmakingConfiguration;
import com.pulumi.aws.gamelift.MatchmakingConfigurationArgs;
import static com.pulumi.codegen.internal.Serialization.*;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var exampleGameSessionQueue = new GameSessionQueue("exampleGameSessionQueue", GameSessionQueueArgs.builder()
.destinations()
.playerLatencyPolicies(
GameSessionQueuePlayerLatencyPolicyArgs.builder()
.maximumIndividualPlayerLatencyMilliseconds(3)
.policyDurationSeconds(7)
.build(),
GameSessionQueuePlayerLatencyPolicyArgs.builder()
.maximumIndividualPlayerLatencyMilliseconds(10)
.build())
.timeoutInSeconds(25)
.build());
var exampleMatchmakingRuleSet = new MatchmakingRuleSet("exampleMatchmakingRuleSet", MatchmakingRuleSetArgs.builder()
.ruleSetBody(serializeJson(
jsonObject(
jsonProperty("name", "test"),
jsonProperty("ruleLanguageVersion", "1.0"),
jsonProperty("teams", jsonArray(jsonObject(
jsonProperty("name", "alpha"),
jsonProperty("minPlayers", 1),
jsonProperty("maxPlayers", 5)
)))
)))
.build());
var exampleMatchmakingConfiguration = new MatchmakingConfiguration("exampleMatchmakingConfiguration", MatchmakingConfigurationArgs.builder()
.acceptanceRequired(false)
.customEventData("pvp")
.gameSessionData("game_session_data")
.backfillMode("MANUAL")
.requestTimeoutSeconds(30)
.ruleSetName(aws_gamelift_matchmaking_rule_set.test().name())
.gameSessionQueueArns(aws_gamelift_game_session_queue.test().arn())
.tags(Map.of("key1", "value1"))
.build());
}
}

Import

GameLift Matchmaking Configurations can be imported using the ID, e.g.,

$ pulumi import aws:gamelift/matchmakingConfiguration:MatchmakingConfiguration example <matchmakingconfiguration-id>

Constructors

Link copied to clipboard
constructor(acceptanceRequired: Output<Boolean>? = null, acceptanceTimeoutSeconds: Output<Int>? = null, additionalPlayerCount: Output<Int>? = null, backfillMode: Output<String>? = null, customEventData: Output<String>? = null, description: Output<String>? = null, flexMatchMode: Output<String>? = null, gameProperties: Output<List<MatchmakingConfigurationGamePropertyArgs>>? = null, gameSessionData: Output<String>? = null, gameSessionQueueArns: Output<List<String>>? = null, name: Output<String>? = null, notificationTarget: Output<String>? = null, requestTimeoutSeconds: Output<Int>? = null, ruleSetName: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard
val acceptanceRequired: Output<Boolean>? = null

Specifies if the match that was created with this configuration must be accepted by matched players.

Link copied to clipboard
val acceptanceTimeoutSeconds: Output<Int>? = null

The length of time (in seconds) to wait for players to accept a proposed match, if acceptance is required.

Link copied to clipboard
val additionalPlayerCount: Output<Int>? = null

The number of player slots in a match to keep open for future players.

Link copied to clipboard
val backfillMode: Output<String>? = null

The method used to backfill game sessions that are created with this matchmaking configuration.

Link copied to clipboard
val customEventData: Output<String>? = null

Information to be added to all events related to this matchmaking configuration.

Link copied to clipboard
val description: Output<String>? = null

A human-readable description of the matchmaking configuration.

Link copied to clipboard
val flexMatchMode: Output<String>? = null

Indicates whether this matchmaking configuration is being used with GameLift hosting or as a standalone matchmaking solution.

Link copied to clipboard

One or more custom game properties. See below.

Link copied to clipboard
val gameSessionData: Output<String>? = null

A set of custom game session properties.

Link copied to clipboard
val gameSessionQueueArns: Output<List<String>>? = null

The ARNs of the GameLift game session queue resources.

Link copied to clipboard
val name: Output<String>? = null

Name of the matchmaking configuration

Link copied to clipboard
val notificationTarget: Output<String>? = null

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

Link copied to clipboard
val requestTimeoutSeconds: Output<Int>? = null

The maximum duration, in seconds, that a matchmaking ticket can remain in process before timing out.

Link copied to clipboard
val ruleSetName: Output<String>? = null

A rule set names for the matchmaking rule set to use with this configuration.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Key-value map of resource tags. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Functions

Link copied to clipboard
open override fun toJava(): MatchmakingConfigurationArgs