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::PrivateDnsNamespace
Using getPrivateDnsNamespace
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 getPrivateDnsNamespace(args: GetPrivateDnsNamespaceArgs, opts?: InvokeOptions): Promise<GetPrivateDnsNamespaceResult>
function getPrivateDnsNamespaceOutput(args: GetPrivateDnsNamespaceOutputArgs, opts?: InvokeOutputOptions): Output<GetPrivateDnsNamespaceResult>def get_private_dns_namespace(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPrivateDnsNamespaceResult
def get_private_dns_namespace_output(id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetPrivateDnsNamespaceResult]func LookupPrivateDnsNamespace(ctx *Context, args *LookupPrivateDnsNamespaceArgs, opts ...InvokeOption) (*LookupPrivateDnsNamespaceResult, error)
func LookupPrivateDnsNamespaceOutput(ctx *Context, args *LookupPrivateDnsNamespaceOutputArgs, opts ...InvokeOption) LookupPrivateDnsNamespaceResultOutput> Note: This function is named LookupPrivateDnsNamespace in the Go SDK.
public static class GetPrivateDnsNamespace
{
public static Task<GetPrivateDnsNamespaceResult> InvokeAsync(GetPrivateDnsNamespaceArgs args, InvokeOptions? opts = null)
public static Output<GetPrivateDnsNamespaceResult> Invoke(GetPrivateDnsNamespaceInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetPrivateDnsNamespaceResult> Invoke(GetPrivateDnsNamespaceInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetPrivateDnsNamespaceResult> getPrivateDnsNamespace(GetPrivateDnsNamespaceArgs args, InvokeOptions options)
public static Output<GetPrivateDnsNamespaceResult> getPrivateDnsNamespace(GetPrivateDnsNamespaceArgs args, InvokeOptions options)
public static Output<GetPrivateDnsNamespaceResult> getPrivateDnsNamespace(GetPrivateDnsNamespaceArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws-native:servicediscovery:getPrivateDnsNamespace
arguments:
# arguments dictionarydata "aws-native_servicediscovery_get_private_dns_namespace" "name" {
# arguments
}The following arguments are supported:
- Id string
- The ID of the private namespace.
- Id string
- The ID of the private namespace.
- id string
- The ID of the private namespace.
- id String
- The ID of the private namespace.
- id string
- The ID of the private namespace.
- id str
- The ID of the private namespace.
- id String
- The ID of the private namespace.
getPrivateDnsNamespace Result
The following output properties are available:
- Arn string
- The Amazon Resource Name (ARN) of the private namespace.
- Description string
- A description of 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 private namespace.
- Properties
Pulumi.
Aws Native. Service Discovery. Outputs. Private Dns Namespace Properties - Properties of the private 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 private namespace.
- Description string
- A description of 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 private namespace.
- Properties
Private
Dns Namespace Properties - Properties of the private 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 private namespace.
- description string
- A description of 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 private namespace.
- properties object
- Properties of the private 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 private namespace.
- description String
- A description of 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 private namespace.
- properties
Private
Dns Namespace Properties - Properties of the private 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 private namespace.
- description string
- A description of 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 private namespace.
- properties
Private
Dns Namespace Properties - Properties of the private 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 private namespace.
- description str
- A description of 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 private namespace.
- properties
Private
Dns Namespace Properties - Properties of the private 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 private namespace.
- description String
- A description of 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 private namespace.
- properties Property Map
- Properties of the private 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
PrivateDnsNamespacePrivateDnsPropertiesMutable
- Soa
Pulumi.
Aws Native. Service Discovery. Inputs. Private Dns Namespace Soa - Fields for the Start of Authority (SOA) record for the hosted zone for the private DNS namespace.
- Soa
Private
Dns Namespace Soa - Fields for the Start of Authority (SOA) record for the hosted zone for the private DNS namespace.
- soa
Private
Dns Namespace Soa - Fields for the Start of Authority (SOA) record for the hosted zone for the private DNS namespace.
- soa
Private
Dns Namespace Soa - Fields for the Start of Authority (SOA) record for the hosted zone for the private DNS namespace.
- soa
Private
Dns Namespace Soa - Fields for the Start of Authority (SOA) record for the hosted zone for the private DNS namespace.
- soa Property Map
- Fields for the Start of Authority (SOA) record for the hosted zone for the private DNS namespace.
PrivateDnsNamespaceProperties
- Dns
Properties Pulumi.Aws Native. Service Discovery. Inputs. Private Dns Namespace Private Dns Properties Mutable - DNS properties for the private DNS namespace.
- Dns
Properties PrivateDns Namespace Private Dns Properties Mutable - DNS properties for the private DNS namespace.
- dns_
properties object - DNS properties for the private DNS namespace.
- dns
Properties PrivateDns Namespace Private Dns Properties Mutable - DNS properties for the private DNS namespace.
- dns
Properties PrivateDns Namespace Private Dns Properties Mutable - DNS properties for the private DNS namespace.
- dns_
properties PrivateDns Namespace Private Dns Properties Mutable - DNS properties for the private DNS namespace.
- dns
Properties Property Map - DNS properties for the private DNS namespace.
PrivateDnsNamespaceSoa
- 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