public static interface CfnGameSessionQueue.PriorityConfigurationProperty
When defined, this configuration replaces the default FleetIQ prioritization process, which is as follows:
Changing the priority order will affect how game sessions are placed.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.gamelift.*; PriorityConfigurationProperty priorityConfigurationProperty = PriorityConfigurationProperty.builder() .locationOrder(List.of("locationOrder")) .priorityOrder(List.of("priorityOrder")) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnGameSessionQueue.PriorityConfigurationProperty.Builder
A builder for
CfnGameSessionQueue.PriorityConfigurationProperty |
static class |
CfnGameSessionQueue.PriorityConfigurationProperty.Jsii$Proxy
An implementation for
CfnGameSessionQueue.PriorityConfigurationProperty |
Modifier and Type | Method and Description |
---|---|
static CfnGameSessionQueue.PriorityConfigurationProperty.Builder |
builder() |
default java.util.List<java.lang.String> |
getLocationOrder()
The prioritization order to use for fleet locations, when the `PriorityOrder` property includes `LOCATION` .
|
default java.util.List<java.lang.String> |
getPriorityOrder()
The recommended sequence to use when prioritizing where to place new game sessions.
|
default java.util.List<java.lang.String> getLocationOrder()
Locations are identified by AWS Region codes such as us-west-2
. Each location can only be listed once.
default java.util.List<java.lang.String> getPriorityOrder()
Each type can only be listed once.
LATENCY
-- FleetIQ prioritizes locations where the average player latency (provided in each game session request) is lowest.COST
-- FleetIQ prioritizes destinations with the lowest current hosting costs. Cost is evaluated based on the location, instance type, and fleet type (Spot or On-Demand) for each destination in the queue.DESTINATION
-- FleetIQ prioritizes based on the order that destinations are listed in the queue configuration.LOCATION
-- FleetIQ prioritizes based on the provided order of locations, as defined in LocationOrder
.static CfnGameSessionQueue.PriorityConfigurationProperty.Builder builder()