@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)",
date="2022-05-13T01:13:33.581Z")
public interface CfnResolverRuleProps
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.*; CfnResolverRuleProps cfnResolverRuleProps = CfnResolverRuleProps.builder() .domainName("domainName") .ruleType("ruleType") // the properties below are optional .name("name") .resolverEndpointId("resolverEndpointId") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .targetIps(List.of(TargetAddressProperty.builder() .ip("ip") // the properties below are optional .port("port") .build())) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnResolverRuleProps.Builder
A builder for
CfnResolverRuleProps |
static class |
CfnResolverRuleProps.Jsii$Proxy
An implementation for
CfnResolverRuleProps |
Modifier and Type | Method and Description |
---|---|
static CfnResolverRuleProps.Builder |
builder() |
java.lang.String |
getDomainName()
DNS queries for this domain name are forwarded to the IP addresses that are specified in `TargetIps` .
|
default java.lang.String |
getName()
The name for the Resolver rule, which you specified when you created the Resolver rule.
|
default java.lang.String |
getResolverEndpointId()
The ID of the endpoint that the rule is associated with.
|
java.lang.String |
getRuleType()
When you want to forward DNS queries for specified domain name to resolvers on your network, specify `FORWARD` .
|
default java.util.List<CfnTag> |
getTags()
Route 53 Resolver doesn't support updating tags through CloudFormation.
|
default java.lang.Object |
getTargetIps()
An array that contains the IP addresses and ports that an outbound endpoint forwards DNS queries to.
|
java.lang.String getDomainName()
If a query matches multiple Resolver rules (example.com and www.example.com), the query is routed using the Resolver rule that contains the most specific domain name (www.example.com).
java.lang.String getRuleType()
When you have a forwarding rule to forward DNS queries for a domain to your network and you want Resolver to process queries for a subdomain of that domain, specify SYSTEM
.
For example, to forward DNS queries for example.com to resolvers on your network, you create a rule and specify FORWARD
for RuleType
. To then have Resolver process queries for apex.example.com, you create a rule and specify SYSTEM
for RuleType
.
Currently, only Resolver can create rules that have a value of RECURSIVE
for RuleType
.
default java.lang.String getName()
default java.lang.String getResolverEndpointId()
default java.util.List<CfnTag> getTags()
default java.lang.Object getTargetIps()
Typically, these are the IP addresses of DNS resolvers on your network. Specify IPv4 addresses. IPv6 is not supported.
static CfnResolverRuleProps.Builder builder()
CfnResolverRuleProps.Builder
of CfnResolverRuleProps