API Gateway 10.5 | Using API Gateway | Aliases | Creating a Simple Alias
 
Creating a Simple Alias
You must have the API Gateway's manage aliases functional privilege assigned to perform this task.
A simple alias holds simple key property values. The name of the alias can be used in the configuration of the properties of a routing policy or an email destination for the Log Invocation, Monitor Service Level Agreement, Monitor Service Performance, and Throttling Traffic Optimization policies.
*To create a simple alias
1. Expand the menu options icon , in the title bar, and select Aliases.
2. Click Create alias.
3. In the Basic information section, provide the following information:
Field
Description
Name
Name of the alias.
Type
Select Simple alias.
Description
Description of the alias.
4. Click Technical information and specify a value in the Default value field.
5. Specify a stage, if you want the alias to be applicable to a specific stage.
6. Click Save.
For example, if you create a simple alias called hostname with value dev.com and in the routing policy you can specify the https://dev.com/v2endpoint as https://${hostname}/v2. At runtime invocation the simple alias ${hostname} will be replaced with its value dev.com.