Experimental
@aws-cdk/aws-gamelift-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
AliasProps Struct
Properties for a new Fleet alias.
Example
ts
declare const fleet: gamelift.BuildFleet;
// Add an alias to an existing fleet using a dedicated fleet method
const liveAlias = fleet.addAlias('live');
// You can also create a standalone alias
new gamelift.Alias(this, 'TerminalAlias', {
aliasName: 'terminal-alias',
terminalMessage: 'A terminal message',
});
Properties
Name of this alias.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#A human-readable description of the alias.
Default: no description
A fleet that the alias points to. If specified, the alias resolves to one specific fleet.
Default: no fleet that the alias points to.
At least one of fleet and terminalMessage must be provided.
terminalMessageoptionalstringterminal_messageoptionalstrterminalMessageoptionalStringTerminalMessageoptionalstringTerminalMessageoptional*string#The message text to be used with a terminal routing strategy.
Default: no terminal message
At least one of fleet and terminalMessage must be provided.