import * as core from "@terrascript/core"; export interface AwsLocationArgs extends core.SchemaArgs { subnetArn?: string | core.StringOut; zone?: string | core.StringOut; } export class AwsLocation extends core.Schema { @core.attr(String) public subnetArn?: string | core.StringOut; @core.attr(String) public zone?: string | core.StringOut; } 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 DeviceArgs extends core.ResourceArgs { /** * (Optional) The AWS location of the device. Documented below. */ awsLocation?: AwsLocation; /** * (Optional) A description of the device. */ description?: string | core.StringOut; /** * (Required) The ID of the global network. */ globalNetworkId: string | core.StringOut; /** * (Optional) The location of the device. Documented below. */ location?: Location; /** * (Optional) The model of device. */ model?: string | core.StringOut; /** * (Optional) The serial number of the device. */ serialNumber?: string | core.StringOut; /** * (Optional) The ID of the site. */ siteId?: string | core.StringOut; /** * (Optional) Key-value tags for the device. If configured with a provider [`default_tags` configuratio * n block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configuratio * n-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) The type of device. */ type?: string | core.StringOut; /** * (Optional) The vendor of the device. */ vendor?: string | core.StringOut; } export class Device extends core.Resource { /** * The Amazon Resource Name (ARN) of the device. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Optional) The AWS location of the device. Documented below. */ @core.attr(AwsLocation) public awsLocation?: AwsLocation; /** * (Optional) A description of the device. */ @core.attr(String) public description?: string | core.StringOut; /** * (Required) The ID of the global network. */ @core.attr(String) public globalNetworkId!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) The location of the device. Documented below. */ @core.attr(Location) public location?: Location; /** * (Optional) The model of device. */ @core.attr(String) public model?: string | core.StringOut; /** * (Optional) The serial number of the device. */ @core.attr(String) public serialNumber?: string | core.StringOut; /** * (Optional) The ID of the site. */ @core.attr(String) public siteId?: string | core.StringOut; /** * (Optional) Key-value tags for the device. If configured with a provider [`default_tags` configuratio * n block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configuratio * n-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) The type of device. */ @core.attr(String) public type?: string | core.StringOut; /** * (Optional) The vendor of the device. */ @core.attr(String) public vendor?: string | core.StringOut; constructor(name: string, args?: DeviceArgs) { super(name, "aws_networkmanager_device", args); } public override getNamespace(): string { return "aws_networkmanager"; } }