aws-cdk-lib.aws_gamelift.CfnAliasProps

interface CfnAliasProps

LanguageType name
.NETAmazon.CDK.AWS.GameLift.CfnAliasProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsgamelift#CfnAliasProps
Javasoftware.amazon.awscdk.services.gamelift.CfnAliasProps
Pythonaws_cdk.aws_gamelift.CfnAliasProps
TypeScript aws-cdk-lib » aws_gamelift » CfnAliasProps

Properties for defining a CfnAlias.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_gamelift as gamelift } from 'aws-cdk-lib';
const cfnAliasProps: gamelift.CfnAliasProps = {
  name: 'name',
  routingStrategy: {
    type: 'type',

    // the properties below are optional
    fleetId: 'fleetId',
    message: 'message',
  },

  // the properties below are optional
  description: 'description',
};

Properties

NameTypeDescription
namestringA descriptive label that is associated with an alias.
routingStrategyIResolvable | RoutingStrategyPropertyThe routing configuration, including routing type and fleet target, for the alias.
description?stringA human-readable description of the alias.

name

Type: string

A descriptive label that is associated with an alias.

Alias names do not need to be unique.


routingStrategy

Type: IResolvable | RoutingStrategyProperty

The routing configuration, including routing type and fleet target, for the alias.


description?

Type: string (optional)

A human-readable description of the alias.