Skip to main content

resolver_rules_list_only

Lists resolver_rules in a region or regions, for all properties use resolver_rules

Overview

Nameresolver_rules_list_only
TypeResource
DescriptionResource Type definition for AWS::Route53Resolver::ResolverRule
Idaws.route53resolver.resolver_rules_list_only

Fields

NameDatatypeDescription
resolver_endpoint_idstringThe ID of the endpoint that the rule is associated with.
domain_namestringDNS queries for this domain name are forwarded to the IP addresses that are specified in TargetIps
namestringThe name for the Resolver rule
rule_typestringWhen you want to forward DNS queries for specified domain name to resolvers on your network, specify FORWARD. 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.
tagsarrayAn array of key-value pairs to apply to this resource.
target_ipsarrayAn array that contains the IP addresses and ports that an outbound endpoint forwards DNS queries to. Typically, these are the IP addresses of DNS resolvers on your network. Specify IPv4 addresses. IPv6 is not supported.
arnstringThe Amazon Resource Name (ARN) of the resolver rule.
resolver_rule_idstringThe ID of the endpoint that the rule is associated with.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all resolver_rules in a region.

SELECT
region,
resolver_rule_id
FROM aws.route53resolver.resolver_rules_list_only
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the resolver_rules_list_only resource, see resolver_rules