Skip to content
v2.274.0

MxRecordValue Struct ​

Properties for a MX record value.

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 ​

hostNamestringhost_namestrhostNameStringHostNamestringHostName*stringrequired#
The mail server host name.
prioritynumberpriorityint | floatpriorityNumberPrioritydoublePriority*float64required#
The priority.