| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.GameLift.Types.RoutingStrategy
Description
Documentation
data RoutingStrategy Source #
The routing configuration for a fleet alias.
Related actions
See: newRoutingStrategy smart constructor.
Constructors
| RoutingStrategy' | |
Fields
| |
Instances
newRoutingStrategy :: RoutingStrategy Source #
Create a value of RoutingStrategy with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:fleetId:RoutingStrategy', routingStrategy_fleetId - A unique identifier for the fleet that the alias points to. This value
is the fleet ID, not the fleet ARN.
$sel:message:RoutingStrategy', routingStrategy_message - The message text to be used with a terminal routing strategy.
$sel:type':RoutingStrategy', routingStrategy_type - 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 message embedded.
routingStrategy_fleetId :: Lens' RoutingStrategy (Maybe Text) Source #
A unique identifier for the fleet that the alias points to. This value is the fleet ID, not the fleet ARN.
routingStrategy_message :: Lens' RoutingStrategy (Maybe Text) Source #
The message text to be used with a terminal routing strategy.
routingStrategy_type :: Lens' RoutingStrategy (Maybe RoutingStrategyType) Source #
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 message embedded.