Skip to content
v2.273.0

TargetAddressProperty Struct ​

In a CreateResolverRule request, an array of the IPs that you want to forward DNS queries to.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_route53resolver as route53resolver } from 'aws-cdk-lib';
const targetAddressProperty: route53resolver.CfnResolverRule.TargetAddressProperty = {
  ip: 'ip',
  ipv6: 'ipv6',
  port: 'port',
  protocol: 'protocol',
  serverNameIndication: 'serverNameIndication',
};

Properties ​

ipstringipstripStringIpstringIp*string#
One IPv4 address that you want to forward DNS queries to.
ipv6stringipv6stripv6StringIpv6stringIpv6*string#
One IPv6 address that you want to forward DNS queries to.
portstringportstrportStringPortstringPort*string#
The port at `Ip` that you want to forward DNS queries to.
protocolstringprotocolstrprotocolStringProtocolstringProtocol*string#
The protocols for the target address.

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

serverNameIndicationstringserver_name_indicationstrserverNameIndicationStringServerNameIndicationstringServerNameIndication*string#
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 .