Class NamespaceType
Inheritance
Namespace: Amazon.CDK.AWS.ServiceDiscovery
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public sealed class NamespaceType : Enum
Syntax (vb)
Public NotInheritable Class NamespaceType
Inherits
Enum
Synopsis
Fields
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. |
HTTP | Choose this option if you want your application to use only API calls to discover registered instances. |
value__ |
Fields
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.
public const NamespaceType DNS_PRIVATE
Field Value
Type | Description |
---|---|
NamespaceType |
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.
public const NamespaceType DNS_PUBLIC
Field Value
Type | Description |
---|---|
NamespaceType |
Remarks
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.
public const NamespaceType HTTP
Field Value
Type | Description |
---|---|
NamespaceType |
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |