@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.719Z") @Stability(value=Stable) public interface CfnResolverRuleProps extends software.amazon.jsii.JsiiSerializable
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() |
String |
getDomainName()
DNS queries for this domain name are forwarded to the IP addresses that are specified in `TargetIps` .
|
default String |
getName()
The name for the Resolver rule, which you specified when you created the Resolver rule.
|
default String |
getResolverEndpointId()
The ID of the endpoint that the rule is associated with.
|
String |
getRuleType()
When you want to forward DNS queries for specified domain name to resolvers on your network, specify `FORWARD` .
|
default List<CfnTag> |
getTags()
Route 53 Resolver doesn't support updating tags through CloudFormation.
|
default Object |
getTargetIps()
An array that contains the IP addresses and ports that an outbound endpoint forwards DNS queries to.
|
@Stability(value=Stable) @NotNull 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).
@Stability(value=Stable) @NotNull 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 .
@Stability(value=Stable) @Nullable default String getName()
@Stability(value=Stable) @Nullable default String getResolverEndpointId()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) @Nullable default Object getTargetIps()
Typically, these are the IP addresses of DNS resolvers on your network. Specify IPv4 addresses. IPv6 is not supported.
@Stability(value=Stable) static CfnResolverRuleProps.Builder builder()
CfnResolverRuleProps.Builder of CfnResolverRulePropsCopyright © 2022. All rights reserved.