Creates a private namespace based on DNS, which will be visible only
inside a specified Amazon VPC. 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.
servicediscovery_create_private_dns_namespace(Name, CreatorRequestId,
Description, Vpc)
[required] 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.
A unique string that identifies the request and that allows failed
CreatePrivateDnsNamespace
requests to be retried without the risk of
executing the operation twice. CreatorRequestId
can be any unique
string, for example, a date/time stamp.
A description for the namespace.
[required] The ID of the Amazon VPC that you want to associate the namespace with.
svc$create_private_dns_namespace( Name = "string", CreatorRequestId = "string", Description = "string", Vpc = "string" )