Module Values.RoutingStrategySource

The routing configuration for a fleet alias. Related actions All APIs by task

Sourcetype nonrec t = {
  1. type_ : RoutingStrategyType.t option;
    (*

    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.

    *)
  2. fleetId : FleetId.t option;
    (*

    A unique identifier for the fleet that the alias points to. This value is the fleet ID, not the fleet ARN.

    *)
  3. message : FreeText.t option;
    (*

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

    *)
}
Sourceval make : ?type_:??? -> ?fleetId:??? -> ?message:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of FleetId.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t