aws-cdk-lib.aws_servicediscovery.NamespaceType

enum NamespaceType

LanguageType name
.NETAmazon.CDK.AWS.ServiceDiscovery.NamespaceType
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsservicediscovery#NamespaceType
Javasoftware.amazon.awscdk.services.servicediscovery.NamespaceType
Pythonaws_cdk.aws_servicediscovery.NamespaceType
TypeScript (source)aws-cdk-lib » aws_servicediscovery » NamespaceType

Members

NameDescription
HTTPChoose this option if you want your application to use only API calls to discover registered instances.
DNS_PRIVATEChoose this option if you want your application to be able to discover instances using either API calls or using DNS queries in a VPC.
DNS_PUBLICChoose this option if you want your application to be able to discover instances using either API calls or using public DNS queries.

HTTP

Choose this option if you want your application to use only API calls to discover registered instances.


DNS_PRIVATE

Choose this option if you want your application to be able to discover instances using either API calls or using DNS queries in a VPC.


DNS_PUBLIC

Choose this option if you want your application to be able to discover instances using either API calls or using public DNS queries.

You aren't required to use both methods.