Learn R Programming

paws.networking (version 0.1.9)

servicediscovery_create_public_dns_namespace: Creates a public namespace based on DNS, which will be visible on the internet

Description

Creates a public namespace based on DNS, which will be visible on the internet. The namespace defines your service naming scheme. For example, if you name your namespace example.com and name your service backend, the resulting DNS name for the service will be backend.example.com. For the current limit on the number of namespaces that you can create using the same AWS account, see AWS Cloud Map Limits in the AWS Cloud Map Developer Guide.

Usage

servicediscovery_create_public_dns_namespace(Name, CreatorRequestId,
  Description, Tags)

Arguments

Name

[required] The name that you want to assign to this namespace.

CreatorRequestId

A unique string that identifies the request and that allows failed CreatePublicDnsNamespace requests to be retried without the risk of executing the operation twice. CreatorRequestId can be any unique string, for example, a date/time stamp.

Description

A description for the namespace.

Tags

The tags to add to 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.

Request syntax

svc$create_public_dns_namespace(
  Name = "string",
  CreatorRequestId = "string",
  Description = "string",
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)

Examples

Run this code
# NOT RUN {
# This example creates a public namespace based on DNS.
svc$create_public_dns_namespace(
  CreatorRequestId = "example-creator-request-id-0003",
  Description = "Example.com AWS Cloud Map Public DNS Namespace",
  Name = "example-public-dns.com"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab