RoutingStrategy
import type { RoutingStrategy } from "https://aws-api.deno.dev/v0.3/services/gamelift.ts?docs=full";
The routing configuration for a fleet alias.
Related actions
"CreateAlias" | "ListAliases" | "DescribeAlias" | "UpdateAlias" | "DeleteAlias" | "ResolveAlias" | All APIs by task
interface RoutingStrategy {
FleetId?: string | null;
Message?: string | null;
Type?: RoutingStrategyType | null;
}§Properties
§
FleetId?: string | null
[src]A unique identifier for the fleet that the alias points to. This value is the fleet ID, not the fleet ARN.
§
Type?: RoutingStrategyType | null
[src]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.