PriorityType
- class aws_cdk.aws_gamelift_alpha.PriorityType(value)
Bases:
Enum
(experimental) Priority to condider when placing new game sessions.
- Stability:
experimental
- ExampleMetadata:
infused
Example:
# fleet: gamelift.BuildFleet # topic: sns.Topic gamelift.GameSessionQueue(self, "MyGameSessionQueue", game_session_queue_name="test-gameSessionQueue", custom_event_data="test-event-data", allowed_locations=["eu-west-1", "eu-west-2"], destinations=[fleet], notification_target=topic, player_latency_policies=[gamelift.PlayerLatencyPolicy( maximum_individual_player_latency=Duration.millis(100), policy_duration=Duration.seconds(300) )], priority_configuration=gamelift.PriorityConfiguration( location_order=["eu-west-1", "eu-west-2" ], priority_order=[gamelift.PriorityType.LATENCY, gamelift.PriorityType.COST, gamelift.PriorityType.DESTINATION, gamelift.PriorityType.LOCATION ] ), timeout=Duration.seconds(300) )
Attributes
- COST
(experimental) 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.
- Stability:
experimental
- DESTINATION
(experimental) FleetIQ prioritizes based on the order that destinations are listed in the queue configuration.
- Stability:
experimental
- LATENCY
(experimental) FleetIQ prioritizes locations where the average player latency (provided in each game session request) is lowest.
- Stability:
experimental
- LOCATION
(experimental) FleetIQ prioritizes based on the provided order of locations, as defined in
LocationOrder
.- Stability:
experimental