Resource: awsGameliftAlias
Provides a GameLift Alias resource.
Example Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.gameliftAlias.GameliftAlias(this, "example", {
description: "Example Description",
name: "example-alias",
routingStrategy: {
message: "Example Message",
type: "TERMINAL",
},
});
Argument Reference
The following arguments are supported:
name- (Required) Name of the alias.description- (Optional) Description of the alias.routingStrategy- (Required) Specifies the fleet and/or routing type to use for the alias.tags- (Optional) Key-value map of resource tags. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
Nested Fields
routingStrategy
fleetId- (Optional) ID of the GameLift Fleet to point the alias to.message- (Optional) Message text to be used with theterminalrouting strategy.type- (Required) Type of routing strategyE.g.,simpleorterminal
Attributes Reference
In addition to all arguments above, the following attributes are exported:
id- Alias ID.arn- Alias ARN.tagsAll- A map of tags assigned to the resource, including those inherited from the providerdefaultTagsconfiguration block.
Import
GameLift Aliases can be imported using the ID, e.g.,