AWS CloudFormation
User Guide (Version )

AWS::GameLift::Alias RoutingStrategy

Routing configuration for a fleet alias.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "FleetId" : String, "Message" : String, "Type" : String }

YAML

FleetId: String Message: String Type: String

Properties

FleetId

Unique identifier for a fleet that the alias points to.

Required: Conditional. If you specify SIMPLE for the Type property, you must specify this property.

Required: No

Type: String

Pattern: ^fleet-\S+

Update requires: No interruption

Message

Message text to be used with a terminal routing strategy.

Required: Conditional. If you specify TERMINAL for the Type property, you must specify this property.

Required: No

Type: String

Update requires: No interruption

Type

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 message that you specified in the Message property.

Required: Yes

Type: String

Allowed Values: SIMPLE | TERMINAL

Update requires: No interruption

See Also

On this page: