Interface AliasProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AliasProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-10-31T19:13:07.787Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forAliasProps
static final class
An implementation forAliasProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic AliasProps.Builder
builder()
(experimental) Name of this alias.default String
(experimental) A human-readable description of the alias.default IFleet
getFleet()
(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
fleet
andterminalMessage
must 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
fleet
andterminalMessage
must be provided.Default: no terminal message
-
builder
- Returns:
- a
AliasProps.Builder
ofAliasProps
-