We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.76.0
published on Monday, Aug 24, 2026 by Pulumi
published on Monday, Aug 24, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.76.0
published on Monday, Aug 24, 2026 by Pulumi
published on Monday, Aug 24, 2026 by Pulumi
Resource Type definition for AWS::ServiceDiscovery::PublicDnsNamespace
Using getPublicDnsNamespace
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getPublicDnsNamespace(args: GetPublicDnsNamespaceArgs, opts?: InvokeOptions): Promise<GetPublicDnsNamespaceResult>
function getPublicDnsNamespaceOutput(args: GetPublicDnsNamespaceOutputArgs, opts?: InvokeOutputOptions): Output<GetPublicDnsNamespaceResult>def get_public_dns_namespace(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPublicDnsNamespaceResult
def get_public_dns_namespace_output(id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetPublicDnsNamespaceResult]func LookupPublicDnsNamespace(ctx *Context, args *LookupPublicDnsNamespaceArgs, opts ...InvokeOption) (*LookupPublicDnsNamespaceResult, error)
func LookupPublicDnsNamespaceOutput(ctx *Context, args *LookupPublicDnsNamespaceOutputArgs, opts ...InvokeOption) LookupPublicDnsNamespaceResultOutput> Note: This function is named LookupPublicDnsNamespace in the Go SDK.
public static class GetPublicDnsNamespace
{
public static Task<GetPublicDnsNamespaceResult> InvokeAsync(GetPublicDnsNamespaceArgs args, InvokeOptions? opts = null)
public static Output<GetPublicDnsNamespaceResult> Invoke(GetPublicDnsNamespaceInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetPublicDnsNamespaceResult> Invoke(GetPublicDnsNamespaceInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetPublicDnsNamespaceResult> getPublicDnsNamespace(GetPublicDnsNamespaceArgs args, InvokeOptions options)
public static Output<GetPublicDnsNamespaceResult> getPublicDnsNamespace(GetPublicDnsNamespaceArgs args, InvokeOptions options)
public static Output<GetPublicDnsNamespaceResult> getPublicDnsNamespace(GetPublicDnsNamespaceArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws-native:servicediscovery:getPublicDnsNamespace
arguments:
# arguments dictionarydata "aws-native_servicediscovery_get_public_dns_namespace" "name" {
# arguments
}The following arguments are supported:
- Id string
- The ID of the public namespace.
- Id string
- The ID of the public namespace.
- id string
- The ID of the public namespace.
- id String
- The ID of the public namespace.
- id string
- The ID of the public namespace.
- id str
- The ID of the public namespace.
- id String
- The ID of the public namespace.
getPublicDnsNamespace Result
The following output properties are available:
- Arn string
- The Amazon Resource Name (ARN) of the public namespace.
- Description string
- A description for the namespace.
- Hosted
Zone stringId - The ID for the Route 53 hosted zone that AWS Cloud Map creates when you create a namespace.
- Id string
- The ID of the public namespace.
- Properties
Pulumi.
Aws Native. Service Discovery. Outputs. Public Dns Namespace Properties - Properties for the public DNS namespace.
-
List<Pulumi.
Aws Native. Outputs. Tag> - The tags for the namespace. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
- Arn string
- The Amazon Resource Name (ARN) of the public namespace.
- Description string
- A description for the namespace.
- Hosted
Zone stringId - The ID for the Route 53 hosted zone that AWS Cloud Map creates when you create a namespace.
- Id string
- The ID of the public namespace.
- Properties
Public
Dns Namespace Properties - Properties for the public DNS namespace.
- Tag
- The tags for the namespace. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
- arn string
- The Amazon Resource Name (ARN) of the public namespace.
- description string
- A description for the namespace.
- hosted_
zone_ stringid - The ID for the Route 53 hosted zone that AWS Cloud Map creates when you create a namespace.
- id string
- The ID of the public namespace.
- properties object
- Properties for the public DNS namespace.
- list(object)
- The tags for the namespace. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
- arn String
- The Amazon Resource Name (ARN) of the public namespace.
- description String
- A description for the namespace.
- hosted
Zone StringId - The ID for the Route 53 hosted zone that AWS Cloud Map creates when you create a namespace.
- id String
- The ID of the public namespace.
- properties
Public
Dns Namespace Properties - Properties for the public DNS namespace.
- List<Tag>
- The tags for the namespace. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
- arn string
- The Amazon Resource Name (ARN) of the public namespace.
- description string
- A description for the namespace.
- hosted
Zone stringId - The ID for the Route 53 hosted zone that AWS Cloud Map creates when you create a namespace.
- id string
- The ID of the public namespace.
- properties
Public
Dns Namespace Properties - Properties for the public DNS namespace.
- Tag[]
- The tags for the namespace. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
- arn str
- The Amazon Resource Name (ARN) of the public namespace.
- description str
- A description for the namespace.
- hosted_
zone_ strid - The ID for the Route 53 hosted zone that AWS Cloud Map creates when you create a namespace.
- id str
- The ID of the public namespace.
- properties
Public
Dns Namespace Properties - Properties for the public DNS namespace.
- Sequence[root_Tag]
- The tags for the namespace. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
- arn String
- The Amazon Resource Name (ARN) of the public namespace.
- description String
- A description for the namespace.
- hosted
Zone StringId - The ID for the Route 53 hosted zone that AWS Cloud Map creates when you create a namespace.
- id String
- The ID of the public namespace.
- properties Property Map
- Properties for the public DNS namespace.
- List<Property Map>
- The tags for the namespace. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
Supporting Types
PublicDnsNamespaceProperties
- Dns
Properties Pulumi.Aws Native. Service Discovery. Inputs. Public Dns Namespace Public Dns Properties Mutable - DNS properties for the public DNS namespace.
- Dns
Properties PublicDns Namespace Public Dns Properties Mutable - DNS properties for the public DNS namespace.
- dns_
properties object - DNS properties for the public DNS namespace.
- dns
Properties PublicDns Namespace Public Dns Properties Mutable - DNS properties for the public DNS namespace.
- dns
Properties PublicDns Namespace Public Dns Properties Mutable - DNS properties for the public DNS namespace.
- dns_
properties PublicDns Namespace Public Dns Properties Mutable - DNS properties for the public DNS namespace.
- dns
Properties Property Map - DNS properties for the public DNS namespace.
PublicDnsNamespacePublicDnsPropertiesMutable
- Soa
Pulumi.
Aws Native. Service Discovery. Inputs. Public Dns Namespace Soa - Start of Authority (SOA) record for the hosted zone for the public DNS namespace.
- Soa
Public
Dns Namespace Soa - Start of Authority (SOA) record for the hosted zone for the public DNS namespace.
- soa
Public
Dns Namespace Soa - Start of Authority (SOA) record for the hosted zone for the public DNS namespace.
- soa
Public
Dns Namespace Soa - Start of Authority (SOA) record for the hosted zone for the public DNS namespace.
- soa
Public
Dns Namespace Soa - Start of Authority (SOA) record for the hosted zone for the public DNS namespace.
- soa Property Map
- Start of Authority (SOA) record for the hosted zone for the public DNS namespace.
PublicDnsNamespaceSoa
- Ttl double
- The time to live (TTL) for purposes of negative caching.
- Ttl float64
- The time to live (TTL) for purposes of negative caching.
- ttl number
- The time to live (TTL) for purposes of negative caching.
- ttl Double
- The time to live (TTL) for purposes of negative caching.
- ttl number
- The time to live (TTL) for purposes of negative caching.
- ttl float
- The time to live (TTL) for purposes of negative caching.
- ttl Number
- The time to live (TTL) for purposes of negative caching.
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.76.0
published on Monday, Aug 24, 2026 by Pulumi
published on Monday, Aug 24, 2026 by Pulumi