You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::GameLift::Types::RoutingStrategy
- Inherits:
-
Struct
- Object
- Struct
- Aws::GameLift::Types::RoutingStrategy
- Defined in:
- (unknown)
Overview
When passing RoutingStrategy as input to an Aws::Client method, you can use a vanilla Hash:
{
type: "SIMPLE", # accepts SIMPLE, TERMINAL
fleet_id: "FleetId",
message: "FreeText",
}
The routing configuration for a fleet alias.
Returned by:
Instance Attribute Summary collapse
-
#fleet_id ⇒ String
The unique identifier for a fleet that the alias points to.
-
#message ⇒ String
The message text to be used with a terminal routing strategy.
-
#type ⇒ String
The type of routing strategy for the alias.
Instance Attribute Details
#fleet_id ⇒ String
The unique identifier for a fleet that the alias points to. This value is the fleet ID, not the fleet ARN.
#message ⇒ String
The message text to be used with a terminal routing strategy.
#type ⇒ String
The type of routing strategy for the alias.
Possible routing types include the following:
SIMPLE - The alias resolves to one specific fleet. Use this type when routing to active fleets.
TERMINAL - The alias does not resolve to a fleet but instead can be used to display a message to the user. A terminal alias throws a TerminalRoutingStrategyException with the RoutingStrategy message embedded.
Possible values:
- SIMPLE
- TERMINAL