Class PriorityType
(experimental) Priority to condider when placing new game sessions.
Inheritance
Namespace: Amazon.CDK.AWS.GameLift.Alpha
Assembly: Amazon.CDK.AWS.GameLift.Alpha.dll
Syntax (csharp)
public sealed class PriorityType : Enum
Syntax (vb)
Public NotInheritable Class PriorityType
Inherits
Enum
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
BuildFleet fleet;
Topic topic;
new GameSessionQueue(this, "MyGameSessionQueue", new GameSessionQueueProps {
GameSessionQueueName = "test-gameSessionQueue",
CustomEventData = "test-event-data",
AllowedLocations = new [] { "eu-west-1", "eu-west-2" },
Destinations = new [] { fleet },
NotificationTarget = topic,
PlayerLatencyPolicies = new [] { new PlayerLatencyPolicy {
MaximumIndividualPlayerLatency = Duration.Millis(100),
PolicyDuration = Duration.Seconds(300)
} },
PriorityConfiguration = new PriorityConfiguration {
LocationOrder = new [] { "eu-west-1", "eu-west-2" },
PriorityOrder = new [] { PriorityType.LATENCY, PriorityType.COST, PriorityType.DESTINATION, PriorityType.LOCATION }
},
Timeout = Duration.Seconds(300)
});
Synopsis
Fields
COST | (experimental) FleetIQ prioritizes destinations with the lowest current hosting costs. |
DESTINATION | (experimental) FleetIQ prioritizes based on the order that destinations are listed in the queue configuration. |
LATENCY | (experimental) FleetIQ prioritizes locations where the average player latency (provided in each game session request) is lowest. |
LOCATION | (experimental) FleetIQ prioritizes based on the provided order of locations, as defined in |
value__ |
Fields
COST
(experimental) FleetIQ prioritizes destinations with the lowest current hosting costs.
public const PriorityType COST
Field Value
Type | Description |
---|---|
PriorityType |
Remarks
Cost is evaluated based on the location, instance type, and fleet type (Spot or On-Demand) for each destination in the queue.
Stability: Experimental
DESTINATION
(experimental) FleetIQ prioritizes based on the order that destinations are listed in the queue configuration.
public const PriorityType DESTINATION
Field Value
Type | Description |
---|---|
PriorityType |
Remarks
Stability: Experimental
LATENCY
(experimental) FleetIQ prioritizes locations where the average player latency (provided in each game session request) is lowest.
public const PriorityType LATENCY
Field Value
Type | Description |
---|---|
PriorityType |
Remarks
Stability: Experimental
LOCATION
(experimental) FleetIQ prioritizes based on the provided order of locations, as defined in LocationOrder
.
public const PriorityType LOCATION
Field Value
Type | Description |
---|---|
PriorityType |
Remarks
Stability: Experimental
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |