Class CfnAliasPropsMixin
The AWS::GameLift::Alias resource creates an alias for an Amazon GameLift (GameLift) fleet destination.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.GameLift
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnAliasPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnAliasPropsMixin Inherits Mixin Implements IMixin
Remarks
There are two types of routing strategies for aliases: simple and terminal. A simple alias points to an active fleet. A terminal alias displays a message instead of routing players to an active fleet. For example, a terminal alias might display a URL link that directs players to an upgrade site. You can use aliases to define destinations in a game session queue or when requesting new game sessions.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-alias.html
CloudformationResource: AWS::GameLift::Alias
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.GameLift;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnAliasPropsMixin = new CfnAliasPropsMixin(new CfnAliasMixinProps {
Description = "description",
Name = "name",
RoutingStrategy = new RoutingStrategyProperty {
FleetId = "fleetId",
Message = "message",
Type = "type"
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Synopsis
Constructors
| CfnAliasPropsMixin(ICfnAliasMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | The |
| Props | The |
| Strategy | The |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnAliasPropsMixin(ICfnAliasMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::GameLift::Alias.
public CfnAliasPropsMixin(ICfnAliasMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnAliasMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
There are two types of routing strategies for aliases: simple and terminal. A simple alias points to an active fleet. A terminal alias displays a message instead of routing players to an active fleet. For example, a terminal alias might display a URL link that directs players to an upgrade site. You can use aliases to define destinations in a game session queue or when requesting new game sessions.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-alias.html
CloudformationResource: AWS::GameLift::Alias
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
The AWS::GameLift::Alias resource creates an alias for an Amazon GameLift (GameLift) fleet destination.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
There are two types of routing strategies for aliases: simple and terminal. A simple alias points to an active fleet. A terminal alias displays a message instead of routing players to an active fleet. For example, a terminal alias might display a URL link that directs players to an upgrade site. You can use aliases to define destinations in a game session queue or when requesting new game sessions.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-alias.html
CloudformationResource: AWS::GameLift::Alias
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.GameLift;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnAliasPropsMixin = new CfnAliasPropsMixin(new CfnAliasMixinProps {
Description = "description",
Name = "name",
RoutingStrategy = new RoutingStrategyProperty {
FleetId = "fleetId",
Message = "message",
Type = "type"
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Props
The AWS::GameLift::Alias resource creates an alias for an Amazon GameLift (GameLift) fleet destination.
protected virtual ICfnAliasMixinProps Props { get; }
Property Value
Remarks
There are two types of routing strategies for aliases: simple and terminal. A simple alias points to an active fleet. A terminal alias displays a message instead of routing players to an active fleet. For example, a terminal alias might display a URL link that directs players to an upgrade site. You can use aliases to define destinations in a game session queue or when requesting new game sessions.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-alias.html
CloudformationResource: AWS::GameLift::Alias
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.GameLift;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnAliasPropsMixin = new CfnAliasPropsMixin(new CfnAliasMixinProps {
Description = "description",
Name = "name",
RoutingStrategy = new RoutingStrategyProperty {
FleetId = "fleetId",
Message = "message",
Type = "type"
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Strategy
The AWS::GameLift::Alias resource creates an alias for an Amazon GameLift (GameLift) fleet destination.
protected virtual IMergeStrategy Strategy { get; }
Property Value
Remarks
There are two types of routing strategies for aliases: simple and terminal. A simple alias points to an active fleet. A terminal alias displays a message instead of routing players to an active fleet. For example, a terminal alias might display a URL link that directs players to an upgrade site. You can use aliases to define destinations in a game session queue or when requesting new game sessions.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-alias.html
CloudformationResource: AWS::GameLift::Alias
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.GameLift;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnAliasPropsMixin = new CfnAliasPropsMixin(new CfnAliasMixinProps {
Description = "description",
Name = "name",
RoutingStrategy = new RoutingStrategyProperty {
FleetId = "fleetId",
Message = "message",
Type = "type"
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override void ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Overrides
Remarks
There are two types of routing strategies for aliases: simple and terminal. A simple alias points to an active fleet. A terminal alias displays a message instead of routing players to an active fleet. For example, a terminal alias might display a URL link that directs players to an upgrade site. You can use aliases to define destinations in a game session queue or when requesting new game sessions.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-alias.html
CloudformationResource: AWS::GameLift::Alias
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
There are two types of routing strategies for aliases: simple and terminal. A simple alias points to an active fleet. A terminal alias displays a message instead of routing players to an active fleet. For example, a terminal alias might display a URL link that directs players to an upgrade site. You can use aliases to define destinations in a game session queue or when requesting new game sessions.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-alias.html
CloudformationResource: AWS::GameLift::Alias
Mixin: true
ExampleMetadata: fixture=_generated