class Aws::GameLift::Types::RoutingStrategy

The routing configuration for a fleet alias.

**Related actions**

CreateAlias | ListAliases | DescribeAlias | UpdateAlias | DeleteAlias | ResolveAlias | [All APIs by task]

[1]: docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets

@note When making an API call, you may pass RoutingStrategy

data as a hash:

    {
      type: "SIMPLE", # accepts SIMPLE, TERMINAL
      fleet_id: "FleetId",
      message: "FreeText",
    }

@!attribute [rw] 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 RoutingStrategy
  message embedded.
@return [String]

@!attribute [rw] fleet_id

A unique identifier for the fleet that the alias points to. This
value is the fleet ID, not the fleet ARN.
@return [String]

@!attribute [rw] message

The message text to be used with a terminal routing strategy.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/RoutingStrategy AWS API Documentation

Constants

SENSITIVE