import * as core from "@terrascript/core"; export interface DsServiceDiscoveryDnsNamespaceArgs { /** * (Required) The name of the namespace. */ name: string | core.StringOut; /** * A map of tags for the resource. */ tags?: core.Map | core.MapOut; /** * (Required) The type of the namespace. Allowed values are `DNS_PUBLIC` or `DNS_PRIVATE`. */ type: string | core.StringOut; } export class DsServiceDiscoveryDnsNamespace extends core.Data { /** * The Amazon Resource Name (ARN) of the namespace. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * A description of the namespace. */ @core.attr(String, { computed: true }) public description!: string | core.StringOut; /** * The ID for the hosted zone that Amazon Route 53 creates when you create a namespace. */ @core.attr(String, { computed: true }) public hostedZone!: string | core.StringOut; /** * The namespace ID. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The name of the namespace. */ @core.attr(String) public name!: string | core.StringOut; /** * A map of tags for the resource. */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; /** * (Required) The type of the namespace. Allowed values are `DNS_PUBLIC` or `DNS_PRIVATE`. */ @core.attr(String) public type!: string | core.StringOut; constructor(name: string, args?: DsServiceDiscoveryDnsNamespaceArgs) { super(name, "aws_service_discovery_dns_namespace", args); } public override getNamespace(): string { return "aws_cloud_map"; } }