Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

Amazon GameLift Alias RoutingStrategy

RoutingStrategy is a property of the AWS::GameLift::Alias resource that configures the routing strategy for an Amazon GameLift (GameLift) alias. For more information, see the RoutingStrategy data type in the Amazon GameLift API Reference.

Syntax

JSON

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

YAML

Copy
FleetId: String Message: String Type: String

Properties

FleetId

A unique identifier of a GameLift fleet to associate with the alias.

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

Type: String

Message

A text message that GameLift displays for the Terminal routing type.

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

Type: String

Type

The type of routing strategy. For the SIMPLE type, traffic is routed to an active GameLift fleet. For the Terminal type, GameLift returns an exception with the message that you specified in the Message property.

Required: Yes

Type: String

On this page: