import * as core from "@terrascript/core"; export interface RoutingStrategyArgs extends core.SchemaArgs { fleetId?: string | core.StringOut; message?: string | core.StringOut; type: string | core.StringOut; } export class RoutingStrategy extends core.Schema { @core.attr(String) public fleetId?: string | core.StringOut; @core.attr(String) public message?: string | core.StringOut; @core.attr(String) public type!: string | core.StringOut; } export interface AliasArgs extends core.ResourceArgs { /** * (Optional) Description of the alias. */ description?: string | core.StringOut; /** * (Required) Name of the alias. */ name: string | core.StringOut; /** * (Required) Specifies the fleet and/or routing type to use for the alias. */ routingStrategy: RoutingStrategy; /** * (Optional) Key-value map of resource tags. If configured with a provider [`default_tags` configurati * on block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configurati * on-block) present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; } export class Alias extends core.Resource { /** * Alias ARN. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Optional) Description of the alias. */ @core.attr(String) public description?: string | core.StringOut; /** * Alias ID. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) Name of the alias. */ @core.attr(String) public name!: string | core.StringOut; /** * (Required) Specifies the fleet and/or routing type to use for the alias. */ @core.attr(RoutingStrategy) public routingStrategy!: RoutingStrategy; /** * (Optional) Key-value map of resource tags. If configured with a provider [`default_tags` configurati * on block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configurati * on-block) present, tags with matching keys will overwrite those defined at the provider-level. */ @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ @core.attr(String, { computed: true, kind: "map" }) public tagsAll?: core.Map | core.MapOut; constructor(name: string, args?: AliasArgs) { super(name, "aws_gamelift_alias", args); } public override getNamespace(): string { return "aws_gamelift"; } }