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::PublicDnsNamespace
Create PublicDnsNamespace Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PublicDnsNamespace(name: string, args?: PublicDnsNamespaceArgs, opts?: CustomResourceOptions);@overload
def PublicDnsNamespace(resource_name: str,
args: Optional[PublicDnsNamespaceArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def PublicDnsNamespace(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
name: Optional[str] = None,
properties: Optional[PublicDnsNamespacePropertiesArgs] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewPublicDnsNamespace(ctx *Context, name string, args *PublicDnsNamespaceArgs, opts ...ResourceOption) (*PublicDnsNamespace, error)public PublicDnsNamespace(string name, PublicDnsNamespaceArgs? args = null, CustomResourceOptions? opts = null)
public PublicDnsNamespace(String name, PublicDnsNamespaceArgs args)
public PublicDnsNamespace(String name, PublicDnsNamespaceArgs args, CustomResourceOptions options)
type: aws-native:servicediscovery:PublicDnsNamespace
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_servicediscovery_public_dns_namespace" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args PublicDnsNamespaceArgs
- 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 PublicDnsNamespaceArgs
- 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 PublicDnsNamespaceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PublicDnsNamespaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PublicDnsNamespaceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
PublicDnsNamespace 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 PublicDnsNamespace resource accepts the following input properties:
- Description string
- A description for the namespace.
- Name string
- The name that you want to assign to this namespace.
- Properties
Pulumi.
Aws Native. Service Discovery. Inputs. Public Dns Namespace Properties - Properties for the public 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.
- Description string
- A description for the namespace.
- Name string
- The name that you want to assign to this namespace.
- Properties
Public
Dns Namespace Properties Args - Properties for the public 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.
- description string
- A description for the namespace.
- name string
- The name that you want to assign to this 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.
- description String
- A description for the namespace.
- name String
- The name that you want to assign to this 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.
- description string
- A description for the namespace.
- name string
- The name that you want to assign to this 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.
- description str
- A description for the namespace.
- name str
- The name that you want to assign to this namespace.
- properties
Public
Dns Namespace Properties Args - Properties for the public 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.
- description String
- A description for the namespace.
- name String
- The name that you want to assign to this 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the PublicDnsNamespace resource produces the following output properties:
- Arn string
- The Amazon Resource Name (ARN) of the public namespace.
- Aws
Id string - The ID of the public 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 public namespace.
- Aws
Id string - The ID of the public 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 public namespace.
- aws_
id string - The ID of the public 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 public namespace.
- aws
Id String - The ID of the public 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 public namespace.
- aws
Id string - The ID of the public 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 public namespace.
- aws_
id str - The ID of the public 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 public namespace.
- aws
Id String - The ID of the public 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
PublicDnsNamespaceProperties, PublicDnsNamespacePropertiesArgs
- 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, PublicDnsNamespacePublicDnsPropertiesMutableArgs
- 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, PublicDnsNamespaceSoaArgs
- 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