MxRecordValue

class aws_cdk.aws_route53.MxRecordValue(*, host_name, priority)

Bases: object

Properties for a MX record value.

Parameters
  • host_name (str) – The mail server host name.

  • priority (Union[int, float]) – The priority.

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_route53 as route53

mx_record_value = route53.MxRecordValue(
    host_name="hostName",
    priority=123
)

Attributes

host_name

The mail server host name.

Return type

str

priority

The priority.

Return type

Union[int, float]