CfnAliasMixinProps

class aws_cdk.mixins_preview.aws_gamelift.mixins.CfnAliasMixinProps(*, description=None, name=None, routing_strategy=None, tags=None)

Bases: object

Properties for CfnAliasPropsMixin.

Parameters:
  • description (Optional[str]) – A human-readable description of the alias.

  • name (Optional[str]) – A descriptive label that is associated with an alias. Alias names do not need to be unique.

  • routing_strategy (Union[IResolvable, RoutingStrategyProperty, Dict[str, Any], None]) – The routing configuration, including routing type and fleet target, for the alias.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – An array of key-value pairs to apply to this resource.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-alias.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_gamelift import mixins as gamelift_mixins

cfn_alias_mixin_props = gamelift_mixins.CfnAliasMixinProps(
    description="description",
    name="name",
    routing_strategy=gamelift_mixins.CfnAliasPropsMixin.RoutingStrategyProperty(
        fleet_id="fleetId",
        message="message",
        type="type"
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

description

A human-readable description of the alias.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-alias.html#cfn-gamelift-alias-description

name

A descriptive label that is associated with an alias.

Alias names do not need to be unique.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-alias.html#cfn-gamelift-alias-name

routing_strategy

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

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-alias.html#cfn-gamelift-alias-routingstrategy

tags

An array of key-value pairs to apply to this resource.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-alias.html#cfn-gamelift-alias-tags