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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnResolverRule.TargetAddressProperty
static final class
An implementation forCfnResolverRule.TargetAddressProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
getIp()
One IPv4 address that you want to forward DNS queries to.default String
getIpv6()
One IPv6 address that you want to forward DNS queries to.default String
getPort()
The port atIp
that you want to forward DNS queries to.default String
The protocols for the target address.default String
The 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 atIp
that 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
TargetAddress
isDoH
.- See Also:
-
builder
-