Interface CfnVirtualNode.DnsServiceDiscoveryProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVirtualNode.DnsServiceDiscoveryProperty.Jsii$Proxy
- Enclosing class:
- CfnVirtualNode
@Stability(Stable)
public static interface CfnVirtualNode.DnsServiceDiscoveryProperty
extends software.amazon.jsii.JsiiSerializable
An object that represents the DNS service discovery information for your virtual node.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.appmesh.*;
DnsServiceDiscoveryProperty dnsServiceDiscoveryProperty = DnsServiceDiscoveryProperty.builder()
.hostname("hostname")
// the properties below are optional
.ipPreference("ipPreference")
.responseType("responseType")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnVirtualNode.DnsServiceDiscoveryPropertystatic final classAn implementation forCfnVirtualNode.DnsServiceDiscoveryProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getHostname
Specifies the DNS service discovery hostname for the virtual node. -
getIpPreference
The preferred IP version that this virtual node uses.Setting the IP preference on the virtual node only overrides the IP preference set for the mesh on this specific node.
-
getResponseType
Specifies the DNS response type for the virtual node. -
builder
-