Skip to content

TargetAddress

Source code in docs_src/capo_route53resolver/types/target_address.py
class TargetAddress(TypedDict, closed=True):
    ip: NotRequired["capo_route53resolver.types.ip.Ip"]
    """<p>One IPv4 address that you want to forward DNS queries to.</p>"""
    port: NotRequired["capo_route53resolver.types.port.Port"]
    """<p>The port at <code>Ip</code> that you want to forward DNS queries to.</p>"""
    ipv6: NotRequired["capo_route53resolver.types.ipv6.Ipv6"]
    """<p> One IPv6 address that you want to forward DNS queries to. </p>"""
    protocol: NotRequired["capo_route53resolver.types.protocol.Protocol"]
    """<p> The protocols for the target address. The protocol you choose needs to be supported by the outbound endpoint of the Resolver rule.</p>"""
    server_name_indication: NotRequired[
        "capo_route53resolver.types.server_name_indication.ServerNameIndication"
    ]
    """<p> The Server Name Indication of the DoH server that you want to forward queries to. This is only used if the Protocol of the <code>TargetAddress</code> is <code>DoH</code>. </p>"""

ip instance-attribute

ip: NotRequired[Ip]

One IPv4 address that you want to forward DNS queries to.

ipv6 instance-attribute

ipv6: NotRequired[Ipv6]

One IPv6 address that you want to forward DNS queries to.

port instance-attribute

port: NotRequired[Port]

The port at Ip that you want to forward DNS queries to.

protocol instance-attribute

protocol: NotRequired[Protocol]

The protocols for the target address. The protocol you choose needs to be supported by the outbound endpoint of the Resolver rule.

server_name_indication instance-attribute

server_name_indication: NotRequired[ServerNameIndication]

The Server Name Indication of the DoH server that you want to forward queries to. This is only used if the Protocol of the TargetAddress is DoH.