MatchmakingConfiguration

class MatchmakingConfiguration : KotlinCustomResource

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>

Properties

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard
val arn: Output<String>

Matchmaking Configuration ARN.

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

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

Link copied to clipboard
val creationTime: Output<String>

The time when the Matchmaking Configuration was created.

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

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

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

A human-readable description of the matchmaking configuration.

Link copied to clipboard
val flexMatchMode: Output<String>

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>?

A set of custom game session properties.

Link copied to clipboard

The ARNs of the GameLift game session queue resources.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

Name of the matchmaking configuration

Link copied to clipboard

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

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

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

Link copied to clipboard
val ruleSetArn: Output<String>
Link copied to clipboard
val ruleSetName: Output<String>

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

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

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.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Link copied to clipboard
val urn: Output<String>