SrvRecordValue

class aws_cdk.aws_route53.SrvRecordValue(*, host_name, port, priority, weight)

Bases: object

Properties for a SRV record value.

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

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

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

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

ExampleMetadata

fixture=_generated

Example:

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

srv_record_value = route53.SrvRecordValue(
    host_name="hostName",
    port=123,
    priority=123,
    weight=123
)

Attributes

host_name

The server host name.

Return type

str

port

The port.

Return type

Union[int, float]

priority

The priority.

Return type

Union[int, float]

weight

The weight.

Return type

Union[int, float]