Show / Hide Table of Contents

Class GameSessionQueue

Provides an Gamelift Game Session Queue resource.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var test = new Aws.GameLift.GameSessionQueue("test", new Aws.GameLift.GameSessionQueueArgs
    {
        Destinations = 
        {
            aws_gamelift_fleet.Us_west_2_fleet.Arn,
            aws_gamelift_fleet.Eu_central_1_fleet.Arn,
        },
        PlayerLatencyPolicies = 
        {
            new Aws.GameLift.Inputs.GameSessionQueuePlayerLatencyPolicyArgs
            {
                MaximumIndividualPlayerLatencyMilliseconds = 100,
                PolicyDurationSeconds = 5,
            },
            new Aws.GameLift.Inputs.GameSessionQueuePlayerLatencyPolicyArgs
            {
                MaximumIndividualPlayerLatencyMilliseconds = 200,
            },
        },
        TimeoutInSeconds = 60,
    });
}

}
Inheritance
System.Object
Resource
CustomResource
GameSessionQueue
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.GameLift
Assembly: Pulumi.Aws.dll
Syntax
public class GameSessionQueue : CustomResource

Constructors

View Source

GameSessionQueue(String, GameSessionQueueArgs, CustomResourceOptions)

Create a GameSessionQueue resource with the given unique name, arguments, and options.

Declaration
public GameSessionQueue(string name, GameSessionQueueArgs args = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

GameSessionQueueArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Arn

Game Session Queue ARN.

Declaration
public Output<string> Arn { get; }
Property Value
Type Description
Output<System.String>
View Source

Destinations

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

Declaration
public Output<ImmutableArray<string>> Destinations { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

Name

Name of the session queue.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

PlayerLatencyPolicies

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

Declaration
public Output<ImmutableArray<GameSessionQueuePlayerLatencyPolicy>> PlayerLatencyPolicies { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<GameSessionQueuePlayerLatencyPolicy>>
View Source

Tags

Key-value map of resource tags

Declaration
public Output<ImmutableDictionary<string, object>> Tags { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>>
View Source

TimeoutInSeconds

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

Declaration
public Output<int?> TimeoutInSeconds { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>

Methods

View Source

Get(String, Input<String>, GameSessionQueueState, CustomResourceOptions)

Get an existing GameSessionQueue resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static GameSessionQueue Get(string name, Input<string> id, GameSessionQueueState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

GameSessionQueueState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
GameSessionQueue
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.