We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 24, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 24, 2026 by Pulumi
Resource Type definition for AWS::ServiceDiscovery::PrivateDnsNamespace
Create PrivateDnsNamespace Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PrivateDnsNamespace(name: string, args?: PrivateDnsNamespaceArgs, opts?: CustomResourceOptions);@overload
def PrivateDnsNamespace(resource_name: str,
args: Optional[PrivateDnsNamespaceArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def PrivateDnsNamespace(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
name: Optional[str] = None,
properties: Optional[PrivateDnsNamespacePropertiesArgs] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
vpc: Optional[str] = None)func NewPrivateDnsNamespace(ctx *Context, name string, args *PrivateDnsNamespaceArgs, opts ...ResourceOption) (*PrivateDnsNamespace, error)public PrivateDnsNamespace(string name, PrivateDnsNamespaceArgs? args = null, CustomResourceOptions? opts = null)
public PrivateDnsNamespace(String name, PrivateDnsNamespaceArgs args)
public PrivateDnsNamespace(String name, PrivateDnsNamespaceArgs args, CustomResourceOptions options)
type: aws-native:servicediscovery:PrivateDnsNamespace
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_servicediscovery_private_dns_namespace" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args PrivateDnsNamespaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args PrivateDnsNamespaceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args PrivateDnsNamespaceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PrivateDnsNamespaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PrivateDnsNamespaceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
PrivateDnsNamespace Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The PrivateDnsNamespace resource accepts the following input properties:
- Description string
- A description of the namespace.
- Name string
- The name that you want to assign to this namespace. When you create a private DNS namespace, AWS Cloud Map automatically creates an Amazon Route 53 private hosted zone that has the same name as the namespace.
- Properties
Pulumi.
Aws Native. Service Discovery. Inputs. Private Dns Namespace Properties - Properties of the private DNS namespace.
-
List<Pulumi.
Aws Native. Inputs. 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.
- Vpc string
- The ID of the Amazon VPC that you want to associate the namespace with.
- Description string
- A description of the namespace.
- Name string
- The name that you want to assign to this namespace. When you create a private DNS namespace, AWS Cloud Map automatically creates an Amazon Route 53 private hosted zone that has the same name as the namespace.
- Properties
Private
Dns Namespace Properties Args - Properties of the private DNS namespace.
-
Tag
Args - 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.
- Vpc string
- The ID of the Amazon VPC that you want to associate the namespace with.
- description string
- A description of the namespace.
- name string
- The name that you want to assign to this namespace. When you create a private DNS namespace, AWS Cloud Map automatically creates an Amazon Route 53 private hosted zone that has the same name as the 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.
- vpc string
- The ID of the Amazon VPC that you want to associate the namespace with.
- description String
- A description of the namespace.
- name String
- The name that you want to assign to this namespace. When you create a private DNS namespace, AWS Cloud Map automatically creates an Amazon Route 53 private hosted zone that has the same name as the 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.
- vpc String
- The ID of the Amazon VPC that you want to associate the namespace with.
- description string
- A description of the namespace.
- name string
- The name that you want to assign to this namespace. When you create a private DNS namespace, AWS Cloud Map automatically creates an Amazon Route 53 private hosted zone that has the same name as the 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.
- vpc string
- The ID of the Amazon VPC that you want to associate the namespace with.
- description str
- A description of the namespace.
- name str
- The name that you want to assign to this namespace. When you create a private DNS namespace, AWS Cloud Map automatically creates an Amazon Route 53 private hosted zone that has the same name as the namespace.
- properties
Private
Dns Namespace Properties Args - Properties of the private DNS namespace.
-
Sequence[Tag
Args] - 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.
- vpc str
- The ID of the Amazon VPC that you want to associate the namespace with.
- description String
- A description of the namespace.
- name String
- The name that you want to assign to this namespace. When you create a private DNS namespace, AWS Cloud Map automatically creates an Amazon Route 53 private hosted zone that has the same name as the 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.
- vpc String
- The ID of the Amazon VPC that you want to associate the namespace with.
Outputs
All input properties are implicitly available as output properties. Additionally, the PrivateDnsNamespace resource produces the following output properties:
- Arn string
- The Amazon Resource Name (ARN) of the private namespace.
- Aws
Id string - The ID of the private 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 provider-assigned unique ID for this managed resource.
- Arn string
- The Amazon Resource Name (ARN) of the private namespace.
- Aws
Id string - The ID of the private 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 provider-assigned unique ID for this managed resource.
- arn string
- The Amazon Resource Name (ARN) of the private namespace.
- aws_
id string - The ID of the private 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 provider-assigned unique ID for this managed resource.
- arn String
- The Amazon Resource Name (ARN) of the private namespace.
- aws
Id String - The ID of the private 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 provider-assigned unique ID for this managed resource.
- arn string
- The Amazon Resource Name (ARN) of the private namespace.
- aws
Id string - The ID of the private 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 provider-assigned unique ID for this managed resource.
- arn str
- The Amazon Resource Name (ARN) of the private namespace.
- aws_
id str - The ID of the private 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 provider-assigned unique ID for this managed resource.
- arn String
- The Amazon Resource Name (ARN) of the private namespace.
- aws
Id String - The ID of the private 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 provider-assigned unique ID for this managed resource.
Supporting Types
PrivateDnsNamespacePrivateDnsPropertiesMutable, PrivateDnsNamespacePrivateDnsPropertiesMutableArgs
- 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, PrivateDnsNamespacePropertiesArgs
- 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, PrivateDnsNamespaceSoaArgs
- 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, TagArgs
A set of tags to apply to the resource.Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 24, 2026 by Pulumi