Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions,
see Getting Started with Amazon Web Services in China
(PDF).
Edit an alias
You can edit an alias using the Amazon GameLift Servers console or with the Amazon CLI command update-alias.
This topic describes how to edit an Amazon GameLift Servers alias for use with game session placement. You can make the following edits:
To edit an alias
Use either the Amazon GameLift Servers console or the Amazon Command Line Interface (Amazon CLI) to edit an alias.
- Console
-
In the Amazon GameLift Servers console, use the navigation pane to open the
Aliases page.
-
Select the alias you want to edit and choose
Edit. If you don't see the alias you want to edit,
check your currently selected Amazon Web Services Region.
-
On the Edit alias page, you can make the
following edits:
-
Change the alias name.
-
Change the alias description.
-
Change the routing strategy from simple to terminal, or from
terminal to simple.
-
For an alias with a simple routing strategy, change the fleet
ID the alias is associated with.
-
For an alias with a terminal routing strategy, change the
message text.
-
Choose Save changes. When updating the fleet ID
for an alias with a simple routing strategy, it may take up to 2 minutes
for the transition to complete. During this time, new game session
placements might take place on the old fleet.
- Amazon CLI
-
Use the update-alias
command to make changes to an alias resource.
You can update an alias resource in your current default Amazon Web Services Region, or you can add
a --region
tag to specify a different Amazon Web Services Region.
You can change the following properties:
-
Alias name.
-
Alias description.
-
Routing strategy type. Be sure to provide a fleet ID or a message string for the new routing strategy.
-
Fleet ID for an existing simple routing strategy. The fleet ID must be in the same region as the alias.
-
Message string for an existing terminal routing strategy.