Interface CfnVirtualNode.IDnsServiceDiscoveryProperty
An object that represents the DNS service discovery information for your virtual node.
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IDnsServiceDiscoveryProperty
Syntax (vb)
Public Interface IDnsServiceDiscoveryProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppMesh;
var dnsServiceDiscoveryProperty = new DnsServiceDiscoveryProperty {
Hostname = "hostname",
// the properties below are optional
IpPreference = "ipPreference",
ResponseType = "responseType"
};
Synopsis
Properties
Hostname | Specifies the DNS service discovery hostname for the virtual node. |
IpPreference | The preferred IP version that this virtual node uses. |
ResponseType | Specifies the DNS response type for the virtual node. |
Properties
Hostname
Specifies the DNS service discovery hostname for the virtual node.
string Hostname { get; }
Property Value
System.String
Remarks
IpPreference
The preferred IP version that this virtual node uses.
virtual string IpPreference { get; }
Property Value
System.String
Remarks
Setting the IP preference on the virtual node only overrides the IP preference set for the mesh on this specific node.
ResponseType
Specifies the DNS response type for the virtual node.
virtual string ResponseType { get; }
Property Value
System.String