# MeshSpecProperty

An object that represents the specification of a service mesh.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appmesh as appmesh } from 'aws-cdk-lib';
const meshSpecProperty: appmesh.CfnMesh.MeshSpecProperty = {
  egressFilter: {
    type: 'type',
  },
  serviceDiscovery: {
    ipPreference: 'ipPreference',
  },
};
```

## Properties

- `egressFilter`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnMesh.EgressFilterProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_appmesh.CfnMesh.EgressFilterProperty.html) — The egress filter rules for the service mesh.

- `serviceDiscovery`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnMesh.MeshServiceDiscoveryProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_appmesh.CfnMesh.MeshServiceDiscoveryProperty.html) — An object that represents the service discovery information for a service mesh.
