interface RoutingStrategyProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.GameLift.Mixins.CfnAliasPropsMixin.RoutingStrategyProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsgamelift/mixins#CfnAliasPropsMixin_RoutingStrategyProperty |
Java | software.amazon.awscdk.mixins.preview.services.gamelift.mixins.CfnAliasPropsMixin.RoutingStrategyProperty |
Python | aws_cdk.mixins_preview.aws_gamelift.mixins.CfnAliasPropsMixin.RoutingStrategyProperty |
TypeScript | @aws-cdk/mixins-preview » aws_gamelift » mixins » CfnAliasPropsMixin » RoutingStrategyProperty |
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 { mixins as gamelift_mixins } from '@aws-cdk/mixins-preview/aws-gamelift';
const routingStrategyProperty: gamelift_mixins.CfnAliasPropsMixin.RoutingStrategyProperty = {
fleetId: 'fleetId',
message: 'message',
type: 'type',
};
Properties
| Name | Type | Description |
|---|---|---|
| fleet | string | A unique identifier for a fleet that the alias points to. |
| message? | string | The message text to be used with a terminal routing strategy. |
| type? | string | A type of routing strategy. |
fleetId?
Type:
string
(optional)
A unique identifier for a fleet that the alias points to.
If you specify SIMPLE for the Type property, you must specify this property.
message?
Type:
string
(optional)
The message text to be used with a terminal routing strategy.
If you specify TERMINAL for the Type property, you must specify this property.
type?
Type:
string
(optional)
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
TerminalRoutingStrategyExceptionwith the message that you specified in theMessageproperty.

.NET
Go
Java
Python
TypeScript