import * as core from "@terrascript/core"; export interface ServiceDiscoveryHttpNamespaceArgs extends core.ResourceArgs { /** * (Optional) The description that you specify for the namespace when you create it. */ description?: string | core.StringOut; /** * (Required) The name of the http namespace. */ name: string | core.StringOut; /** * (Optional) A map of tags to assign to the namespace. If configured with a provider [`default_tags` c * onfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-c * onfiguration-block) present, tags with matching keys will overwrite those defined at the provider-le * vel. */ 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 ServiceDiscoveryHttpNamespace extends core.Resource { /** * The ARN that Amazon Route 53 assigns to the namespace when you create it. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Optional) The description that you specify for the namespace when you create it. */ @core.attr(String) public description?: string | core.StringOut; /** * The name of an HTTP namespace. */ @core.attr(String, { computed: true }) public httpName!: string | core.StringOut; /** * The ID of a namespace. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The name of the http namespace. */ @core.attr(String) public name!: string | core.StringOut; /** * (Optional) A map of tags to assign to the namespace. If configured with a provider [`default_tags` c * onfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-c * onfiguration-block) present, tags with matching keys will overwrite those defined at the provider-le * vel. */ @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?: ServiceDiscoveryHttpNamespaceArgs) { super(name, "aws_service_discovery_http_namespace", args); } public override getNamespace(): string { return "aws_cloud_map"; } }