1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. servicediscovery
  6. PublicDnsNamespace

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
aws-native logo aws-native logo

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

    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.AwsNative.ServiceDiscovery.Inputs.PublicDnsNamespaceProperties
    Properties for the public DNS namespace.
    Tags List<Pulumi.AwsNative.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 PublicDnsNamespacePropertiesArgs
    Properties for the public DNS namespace.
    Tags TagArgs
    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.
    tags 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 PublicDnsNamespaceProperties
    Properties for the public DNS namespace.
    tags 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 PublicDnsNamespaceProperties
    Properties for the public DNS namespace.
    tags 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 PublicDnsNamespacePropertiesArgs
    Properties for the public DNS namespace.
    tags Sequence[TagArgs]
    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.
    tags 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.
    AwsId string
    The ID of the public namespace.
    HostedZoneId string
    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.
    AwsId string
    The ID of the public namespace.
    HostedZoneId string
    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_id string
    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.
    awsId String
    The ID of the public namespace.
    hostedZoneId String
    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.
    awsId string
    The ID of the public namespace.
    hostedZoneId string
    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_id str
    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.
    awsId String
    The ID of the public namespace.
    hostedZoneId String
    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

    DnsProperties PublicDnsNamespacePublicDnsPropertiesMutable
    DNS properties for the public DNS namespace.
    dns_properties object
    DNS properties for the public DNS namespace.
    dnsProperties PublicDnsNamespacePublicDnsPropertiesMutable
    DNS properties for the public DNS namespace.
    dnsProperties PublicDnsNamespacePublicDnsPropertiesMutable
    DNS properties for the public DNS namespace.
    dns_properties PublicDnsNamespacePublicDnsPropertiesMutable
    DNS properties for the public DNS namespace.
    dnsProperties Property Map
    DNS properties for the public DNS namespace.

    PublicDnsNamespacePublicDnsPropertiesMutable, PublicDnsNamespacePublicDnsPropertiesMutableArgs

    Soa Pulumi.AwsNative.ServiceDiscovery.Inputs.PublicDnsNamespaceSoa
    Start of Authority (SOA) record for the hosted zone for the public DNS namespace.
    Soa PublicDnsNamespaceSoa
    Start of Authority (SOA) record for the hosted zone for the public DNS namespace.
    soa object
    Start of Authority (SOA) record for the hosted zone for the public DNS namespace.
    soa PublicDnsNamespaceSoa
    Start of Authority (SOA) record for the hosted zone for the public DNS namespace.
    soa PublicDnsNamespaceSoa
    Start of Authority (SOA) record for the hosted zone for the public DNS namespace.
    soa PublicDnsNamespaceSoa
    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.
    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo

    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

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial