import * as core from "@terrascript/core"; export interface StorageLocationArgs extends core.SchemaArgs { bucket: string | core.StringOut; key: string | core.StringOut; objectVersion?: string | core.StringOut; roleArn: string | core.StringOut; } export class StorageLocation extends core.Schema { @core.attr(String) public bucket!: string | core.StringOut; @core.attr(String) public key!: string | core.StringOut; @core.attr(String) public objectVersion?: string | core.StringOut; @core.attr(String) public roleArn!: string | core.StringOut; } export interface BuildArgs extends core.ResourceArgs { /** * (Required) Name of the build */ name: string | core.StringOut; /** * (Required) Operating system that the game server binaries are built to run onE.g., `WINDOWS_2012`, ` * AMAZON_LINUX` or `AMAZON_LINUX_2`. */ operatingSystem: string | core.StringOut; /** * (Required) Information indicating where your game build files are stored. See below. */ storageLocation: StorageLocation; /** * (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; /** * (Optional) Version that is associated with this build. */ version?: string | core.StringOut; } export class Build extends core.Resource { /** * GameLift Build ARN. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * GameLift Build ID. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) Name of the build */ @core.attr(String) public name!: string | core.StringOut; /** * (Required) Operating system that the game server binaries are built to run onE.g., `WINDOWS_2012`, ` * AMAZON_LINUX` or `AMAZON_LINUX_2`. */ @core.attr(String) public operatingSystem!: string | core.StringOut; /** * (Required) Information indicating where your game build files are stored. See below. */ @core.attr(StorageLocation) public storageLocation!: StorageLocation; /** * (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; /** * (Optional) Version that is associated with this build. */ @core.attr(String) public version?: string | core.StringOut; constructor(name: string, args?: BuildArgs) { super(name, "aws_gamelift_build", args); } public override getNamespace(): string { return "aws_gamelift"; } }