

# MeshSpec
<a name="API_MeshSpec"></a>

An object that represents the specification of a service mesh.

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

 ** egressFilter **   <a name="appmesh-Type-MeshSpec-egressFilter"></a>
The egress filter rules for the service mesh.  
Type: [EgressFilter](API_EgressFilter.md) object  
Required: No

 ** serviceDiscovery **   <a name="appmesh-Type-MeshSpec-serviceDiscovery"></a>
An object that represents the service discovery information for a service mesh.  
Type: [MeshServiceDiscovery](API_MeshServiceDiscovery.md) object  
Required: No

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

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