Interface CfnResolverRule.TargetAddressProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnResolverRule.TargetAddressProperty.Jsii$Proxy
- Enclosing class:
CfnResolverRule
@Stability(Stable)
public static interface CfnResolverRule.TargetAddressProperty
extends software.amazon.jsii.JsiiSerializable
In a CreateResolverRule request, an array of the IPs that you want to forward DNS queries to.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.route53resolver.*;
TargetAddressProperty targetAddressProperty = TargetAddressProperty.builder()
.ip("ip")
.ipv6("ipv6")
.port("port")
.protocol("protocol")
.serverNameIndication("serverNameIndication")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnResolverRule.TargetAddressPropertystatic final classAn implementation forCfnResolverRule.TargetAddressProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringgetIp()One IPv4 address that you want to forward DNS queries to.default StringgetIpv6()One IPv6 address that you want to forward DNS queries to.default StringgetPort()The port atIpthat you want to forward DNS queries to.default StringThe protocols for the target address.default StringThe Server Name Indication of the DoH server that you want to forward queries to.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getIp
One IPv4 address that you want to forward DNS queries to.- See Also:
-
getIpv6
One IPv6 address that you want to forward DNS queries to.- See Also:
-
getPort
The port atIpthat you want to forward DNS queries to.- See Also:
-
getProtocol
The protocols for the target address.The protocol you choose needs to be supported by the outbound endpoint of the Resolver rule.
- See Also:
-
getServerNameIndication
The Server Name Indication of the DoH server that you want to forward queries to.This is only used if the Protocol of the
TargetAddressisDoH.- See Also:
-
builder
-