v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1448186240.2 KB

Retrieves information about a DNS firewall rule.

Route 53 Global Resolver is a global service that supports resolvers in multiple Amazon Web Services Regions but you must specify the US East (Ohio) Region to create, update, or otherwise work with Route 53 Global Resolver resources. That is, for example, specify --region us-east-2 on Amazon Web Services CLI commands.

get/firewall-rules/{firewallRuleId}

Path parameters

firewallRuleIdstring required

ID of the DNS Firewall rule.

Response

Success

action'ALLOW' | 'ALERT' | 'BLOCK' required

The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list, or a threat in a DNS Firewall Advanced rule.

blockOverrideDnsType'CNAME'

The DNS record's type. This determines the format of the record value that you provided in <code>BlockOverrideDomain</code>. Used for the rule action <code>BLOCK</code> with a <code>BlockResponse</code> setting of <code>OVERRIDE</code>.

blockOverrideDomainstring

The custom DNS record to send back in response to the query. Used for the rule action <code>BLOCK</code> with a <code>BlockResponse</code> setting of <code>OVERRIDE</code>.

blockOverrideTtlinteger

The recommended amount of time, in seconds, for the DNS resolver or web browser to cache the provided override record. Used for the rule action <code>BLOCK</code> with a <code>BlockResponse</code> setting of <code>OVERRIDE</code>.

blockResponse'NODATA' | 'NXDOMAIN' | 'OVERRIDE'

The way that you want DNS Firewall to block the request. Used for the rule action setting <code>BLOCK</code>.

confidenceThreshold'LOW' | 'MEDIUM' | 'HIGH'

The confidence threshold for DNS Firewall Advanced. You must provide this value when you create a DNS Firewall Advanced rule.

createdAtstring date-time required

The time and date the DNS Firewall rule was created.

descriptionstring

The description of the DNS Firewall rule.

dnsAdvancedProtection'DGA' | 'DNS_TUNNELING' | 'DICTIONARY_DGA'

The type of the DNS Firewall Advanced rule. Valid values are DGA, DNS_TUNNELING, and DICTIONARY_DGA.

firewallDomainListIdstring

The ID of a DNS Firewall domain list.

idstring required

ID of the DNS Firewall rule.

namestring required

The name of the DNS Firewall rule.

priorityinteger required

The setting that determines the processing order of the rule in the rule group. DNS Firewall processes the rules in a rule group by order of priority, starting from the lowest setting.

dnsViewIdstring required

The DNS view ID the DNS Firewall is associated with.

queryTypestring

The DNS query type you want the rule to evaluate.

status'CREATING' | 'OPERATIONAL' | 'UPDATING' | 'DELETING' required

The operational status of the DNS Firewall rule.

updatedAtstring date-time required

The date and time the DNS Firewall rule was updated.