CmdID / aws / aws route53resolver
aws route53resolver create-resolver-rule
For DNS queries that originate in your VPCs, specifies which Resolver endpoint the queries pass through, one domain name that you want to forward to your network, and the IP addresses of the DNS resolvers in your network. AWS CLI reference
8 options Its page in the AWS CLI reference
Options
--creator-request-idA unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice.--delegation-recordDNS queries with the delegation records that match this domain name are forwarded to the resolvers on your network.--domain-nameDNS queries for this domain name are forwarded to the IP addresses that you specify in TargetIps.--nameA friendly name that lets you easily find a rule in the Resolver dashboard in the Route 53 console.--resolver-endpoint-idThe ID of the outbound Resolver endpoint that you want to use to route DNS queries to the IP addresses that you specify in TargetIps.--rule-typeWhen you want to forward DNS queries for specified domain name to resolvers on your network, specify FORWARD or DELEGATE.--tagsA list of the tag keys and values that you want to associate with the endpoint.--target-ipsThe IPs that you want Resolver to forward DNS queries to.