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")
.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 Resolver endpoints.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 Resolver endpoints. DoH-FIPS is applicable for inbound endpoints only.For an inbound endpoint you can apply the protocols as follows:
- Do53 and DoH in combination.
- Do53 and DoH-FIPS in combination.
- Do53 alone.
- DoH alone.
- DoH-FIPS alone.
- None, which is treated as Do53.
For an outbound endpoint you can apply the protocols as follows:
- Do53 and DoH in combination.
- Do53 alone.
- DoH alone.
- None, which is treated as Do53.
- See Also:
-
builder
-