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
show all
Defined in:
(unknown)

Overview

Note:

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",
}

Routing configuration for a fleet alias.

Fleet-related operations include:

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#fleet_idString

Unique identifier for a fleet that the alias points to.

Returns:

  • (String)

    Unique identifier for a fleet that the alias points to.

#messageString

Message text to be used with a terminal routing strategy.

Returns:

  • (String)

    Message text to be used with a terminal routing strategy.

#typeString

Type of routing strategy.

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

Returns:

  • (String)

    Type of routing strategy.