Interface CfnAlias.RoutingStrategyProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAlias.RoutingStrategyProperty.Jsii$Proxy
- Enclosing class:
CfnAlias
@Stability(Stable)
public static interface CfnAlias.RoutingStrategyProperty
extends software.amazon.jsii.JsiiSerializable
The routing configuration for a fleet alias.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.gamelift.*; RoutingStrategyProperty routingStrategyProperty = RoutingStrategyProperty.builder() .type("type") // the properties below are optional .fleetId("fleetId") .message("message") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnAlias.RoutingStrategyProperty
static final class
An implementation forCfnAlias.RoutingStrategyProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getType
A type of routing strategy.Possible routing types include the following:
- SIMPLE - The alias resolves to one specific fleet. Use this type when routing to active fleets.
- TERMINAL - The alias does not resolve to a fleet but instead can be used to display a message to the user. A terminal alias throws a
TerminalRoutingStrategyException
with the message that you specified in theMessage
property.
- See Also:
-
getFleetId
A unique identifier for a fleet that the alias points to.If you specify
SIMPLE
for theType
property, you must specify this property.- See Also:
-
getMessage
The message text to be used with a terminal routing strategy.If you specify
TERMINAL
for theType
property, you must specify this property.- See Also:
-
builder
-