awscc_gamelift_alias (Resource)

The AWS::GameLift::Alias resource creates an alias for an Amazon GameLift (GameLift) fleet destination.

Example Usage

Simple alias

resource "awscc_gamelift_alias" "example" {
  name        = "simple"
  description = "alias uses SIMPLE routing strategy"

  routing_strategy = {
    type     = "SIMPLE"
    fleet_id = awscc_gamelift_fleet.example.fleet_id
  }
}

Terminal Alias

resource "awscc_gamelift_alias" "example" {
  name        = "terminal"
  description = "alias uses TERMINAL routing strategy"

  routing_strategy = {
    type    = "TERMINAL"
    message = "Terminal routing strategy message"
  }
}

Schema

Required

Optional

Read-Only

Nested Schema for routing_strategy

Required:

Optional:

Import

Import is supported using the following syntax:

$ terraform import awscc_gamelift_alias.example <resource ID>