# MxRecordValue

Properties for a MX record value.

- Source: [`aws-route53/lib/record-set.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-route53/lib/record-set.ts#L938)

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_route53 as route53 } from 'aws-cdk-lib';
const mxRecordValue: route53.MxRecordValue = {
  hostName: 'hostName',
  priority: 123,
};
```

## Properties

- `hostName`: string (required) — The mail server host name.

- `priority`: number (required) — The priority.
