

# MeshServiceDiscovery
<a name="API_MeshServiceDiscovery"></a>

An object that represents the service discovery information for a service mesh.

## Contents
<a name="API_MeshServiceDiscovery_Contents"></a>

 ** ipPreference **   <a name="appmesh-Type-MeshServiceDiscovery-ipPreference"></a>
The IP version to use to control traffic within the mesh.  
Type: String  
Valid Values: `IPv6_PREFERRED | IPv4_PREFERRED | IPv4_ONLY | IPv6_ONLY`   
Required: No

## See Also
<a name="API_MeshServiceDiscovery_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/appmesh-2019-01-25/MeshServiceDiscovery) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/appmesh-2019-01-25/MeshServiceDiscovery) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/appmesh-2019-01-25/MeshServiceDiscovery) 