NamespaceType

class aws_cdk.aws_servicediscovery.NamespaceType

Bases: enum.Enum

An enumeration.

Attributes

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.

HTTP

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

Attributes

DNS_PRIVATE = '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 = '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.

HTTP = 'HTTP'

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