@Stability(value=Stable)
public static interface CfnGameSessionQueue.PriorityConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
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 List<String> |
getLocationOrder()
The prioritization order to use for fleet locations, when the `PriorityOrder` property includes `LOCATION` .
|
default List<String> |
getPriorityOrder()
The recommended sequence to use when prioritizing where to place new game sessions.
|
@Stability(value=Stable) @Nullable default List<String> getLocationOrder()
Locations are identified by AWS Region codes such as us-west-2 . Each location can only be listed once.
@Stability(value=Stable) @Nullable default List<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 .@Stability(value=Stable) static CfnGameSessionQueue.PriorityConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.