Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

RoutingStrategy

import type { RoutingStrategy } from "https://aws-api.deno.dev/v0.4/services/gamelift.ts?docs=full";

The routing configuration for a fleet alias.

Related actions

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.

§
Message?: string | null
[src]

The message text to be used with a terminal routing strategy.

§

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.