@Stability(value=Stable) public static final class CfnResolverRule.Builder extends Object implements software.amazon.jsii.Builder<CfnResolverRule>
CfnResolverRule.| Modifier and Type | Method and Description |
|---|---|
CfnResolverRule |
build() |
static CfnResolverRule.Builder |
create(software.constructs.Construct scope,
String id) |
CfnResolverRule.Builder |
domainName(String domainName)
DNS queries for this domain name are forwarded to the IP addresses that are specified in `TargetIps` .
|
CfnResolverRule.Builder |
name(String name)
The name for the Resolver rule, which you specified when you created the Resolver rule.
|
CfnResolverRule.Builder |
resolverEndpointId(String resolverEndpointId)
The ID of the endpoint that the rule is associated with.
|
CfnResolverRule.Builder |
ruleType(String ruleType)
When you want to forward DNS queries for specified domain name to resolvers on your network, specify `FORWARD` .
|
CfnResolverRule.Builder |
tags(List<? extends CfnTag> tags)
Route 53 Resolver doesn't support updating tags through CloudFormation.
|
CfnResolverRule.Builder |
targetIps(IResolvable targetIps)
An array that contains the IP addresses and ports that an outbound endpoint forwards DNS queries to.
|
CfnResolverRule.Builder |
targetIps(List<? extends Object> targetIps)
An array that contains the IP addresses and ports that an outbound endpoint forwards DNS queries to.
|
@Stability(value=Stable) public static CfnResolverRule.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnResolverRule.TargetAddressProperty.Builder.@Stability(value=Stable) public CfnResolverRule.Builder domainName(String domainName)
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).
domainName - DNS queries for this domain name are forwarded to the IP addresses that are specified in `TargetIps` . This parameter is required.this@Stability(value=Stable) public CfnResolverRule.Builder ruleType(String ruleType)
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 .
ruleType - When you want to forward DNS queries for specified domain name to resolvers on your network, specify `FORWARD` . This parameter is required.this@Stability(value=Stable) public CfnResolverRule.Builder name(String name)
name - The name for the Resolver rule, which you specified when you created the Resolver rule. This parameter is required.this@Stability(value=Stable) public CfnResolverRule.Builder resolverEndpointId(String resolverEndpointId)
resolverEndpointId - The ID of the endpoint that the rule is associated with. This parameter is required.this@Stability(value=Stable) public CfnResolverRule.Builder tags(List<? extends CfnTag> tags)
tags - Route 53 Resolver doesn't support updating tags through CloudFormation. This parameter is required.this@Stability(value=Stable) public CfnResolverRule.Builder targetIps(IResolvable targetIps)
Typically, these are the IP addresses of DNS resolvers on your network. Specify IPv4 addresses. IPv6 is not supported.
targetIps - An array that contains the IP addresses and ports that an outbound endpoint forwards DNS queries to. This parameter is required.this@Stability(value=Stable) public CfnResolverRule.Builder targetIps(List<? extends Object> targetIps)
Typically, these are the IP addresses of DNS resolvers on your network. Specify IPv4 addresses. IPv6 is not supported.
targetIps - An array that contains the IP addresses and ports that an outbound endpoint forwards DNS queries to. This parameter is required.this@Stability(value=Stable) public CfnResolverRule build()
build in interface software.amazon.jsii.Builder<CfnResolverRule>Copyright © 2022. All rights reserved.