Class CfnVirtualNode.DnsServiceDiscoveryProperty
An object that represents the DNS service discovery information for your virtual node.
Inheritance
System.Object
CfnVirtualNode.DnsServiceDiscoveryProperty
Implements
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class DnsServiceDiscoveryProperty : Object, CfnVirtualNode.IDnsServiceDiscoveryProperty
Syntax (vb)
Public Class DnsServiceDiscoveryProperty
Inherits Object
Implements CfnVirtualNode.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
Constructors
DnsServiceDiscoveryProperty() |
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. |
Constructors
DnsServiceDiscoveryProperty()
public DnsServiceDiscoveryProperty()
Properties
Hostname
Specifies the DNS service discovery hostname for the virtual node.
public string Hostname { get; set; }
Property Value
System.String
Remarks
IpPreference
The preferred IP version that this virtual node uses.
public string IpPreference { get; set; }
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.
public string ResponseType { get; set; }
Property Value
System.String