GameSessionQueue

class GameSessionQueue : KotlinCustomResource

Provides an GameLift Game Session Queue 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 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 test = new GameSessionQueue("test", GameSessionQueueArgs.builder()
.destinations(
aws_gamelift_fleet.us_west_2_fleet().arn(),
aws_gamelift_fleet.eu_central_1_fleet().arn())
.notificationTarget(aws_sns_topic.game_session_queue_notifications().arn())
.playerLatencyPolicies(
GameSessionQueuePlayerLatencyPolicyArgs.builder()
.maximumIndividualPlayerLatencyMilliseconds(100)
.policyDurationSeconds(5)
.build(),
GameSessionQueuePlayerLatencyPolicyArgs.builder()
.maximumIndividualPlayerLatencyMilliseconds(200)
.build())
.timeoutInSeconds(60)
.build());
}
}

Import

GameLift Game Session Queues can be imported by their name, e.g.,

$ pulumi import aws:gamelift/gameSessionQueue:GameSessionQueue example example

Properties

Link copied to clipboard
val arn: Output<String>

Game Session Queue ARN.

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

Information to be added to all events that are related to this game session queue.

Link copied to clipboard
val destinations: Output<List<String>>?

List of fleet/alias ARNs used by session queue for placing game sessions.

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

Name of the session queue.

Link copied to clipboard

An SNS topic ARN that is set up to receive game session placement notifications.

Link copied to clipboard

One or more policies used to choose fleet based on player latency. See below.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
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 timeoutInSeconds: Output<Int>?

Maximum time a game session request can remain in the queue.

Link copied to clipboard
val urn: Output<String>