Interface AliasProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AliasProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:41:04.766Z")
@Stability(Experimental)
public interface AliasProps
extends software.amazon.jsii.JsiiSerializable
(experimental) Properties for a new Fleet alias.
Example:
BuildFleet fleet;
// Add an alias to an existing fleet using a dedicated fleet method
Alias liveAlias = fleet.addAlias("live");
// You can also create a standalone alias
// You can also create a standalone alias
Alias.Builder.create(this, "TerminalAlias")
.aliasName("terminal-alias")
.terminalMessage("A terminal message")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forAliasPropsstatic final classAn implementation forAliasProps -
Method Summary
Modifier and TypeMethodDescriptionstatic AliasProps.Builderbuilder()(experimental) Name of this alias.default String(experimental) A human-readable description of the alias.default IFleetgetFleet()(experimental) A fleet that the alias points to.default String(experimental) The message text to be used with a terminal routing strategy.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAliasName
(experimental) Name of this alias. -
getDescription
(experimental) A human-readable description of the alias.Default: no description
-
getFleet
(experimental) A fleet that the alias points to. If specified, the alias resolves to one specific fleet.At least one of
fleetandterminalMessagemust be provided.Default: no fleet that the alias points to.
-
getTerminalMessage
(experimental) The message text to be used with a terminal routing strategy.At least one of
fleetandterminalMessagemust be provided.Default: no terminal message
-
builder
- Returns:
- a
AliasProps.BuilderofAliasProps
-