import { AwsResource } from '../../cloudformation/resources/AwsResource';
/**
  Creates a public namespace based on DNS, which is visible on the internet. The namespace defines your service naming scheme. For example, if you name your namespace <code>example.com</code> and name your service <code>backend</code>, the resulting DNS name for the service is <code>backend.example.com</code>. You can discover instances that were registered with a public DNS namespace by using either a <code>DiscoverInstances</code> request or using DNS. For the current quota on the number of namespaces that you can create using the same AWS account, see <a href="https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html">AWS Cloud Map quotas</a> in the * AWS Cloud Map Developer Guide*.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-publicdnsnamespace.html">the AWS Docs</a>
*/
export function publicDnsNamespace(publicDnsNamespaceProps) {
    return new AwsResource('AWS::ServiceDiscovery::PublicDnsNamespace', publicDnsNamespaceProps, { HostedZoneId: 'HostedZoneId', Id: 'Id', Arn: 'Arn' });
}
