import * as core from "@terrascript/core"; export interface LocationArgs extends core.SchemaArgs { address?: string | core.StringOut; latitude?: string | core.StringOut; longitude?: string | core.StringOut; } export class Location extends core.Schema { @core.attr(String) public address?: string | core.StringOut; @core.attr(String) public latitude?: string | core.StringOut; @core.attr(String) public longitude?: string | core.StringOut; } export interface SiteArgs extends core.ResourceArgs { /** * (Optional) Description of the Site. */ description?: string | core.StringOut; /** * (Required) The ID of the Global Network to create the site in. */ globalNetworkId: string | core.StringOut; /** * (Optional) The site location as documented below. */ location?: Location; /** * (Optional) Key-value tags for the Site. If configured with a provider [`default_tags` configuration * block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configuration- * 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 Site extends core.Resource { /** * Site Amazon Resource Name (ARN) */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Optional) Description of the Site. */ @core.attr(String) public description?: string | core.StringOut; /** * (Required) The ID of the Global Network to create the site in. */ @core.attr(String) public globalNetworkId!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) The site location as documented below. */ @core.attr(Location) public location?: Location; /** * (Optional) Key-value tags for the Site. If configured with a provider [`default_tags` configuration * block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configuration- * 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?: SiteArgs) { super(name, "aws_networkmanager_site", args); } public override getNamespace(): string { return "aws_networkmanager"; } }