Creates a DNS firewall rule. Firewall rules define actions (ALLOW, BLOCK, or ALERT) to take on DNS queries that match specified domain lists, managed domain lists, or advanced threat protections.
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.
Request body
The response to return when the action is BLOCK. Valid values are NXDOMAIN (domain does not exist), NODATA (domain exists but no records), or OVERRIDE (return custom response).
A unique, case-sensitive identifier to ensure idempotency. This means that making the same request multiple times with the same <code>clientToken</code> has the same result every time.
The confidence threshold for advanced threat detection. Valid values are HIGH, MEDIUM, or LOW, indicating the accuracy level required for threat detection.
An optional description for the firewall rule.
Whether to enable advanced DNS threat protection for this rule. Advanced protection can detect and block DNS tunneling and Domain Generation Algorithm (DGA) threats.
The ID of the firewall domain list to use in this rule.
A descriptive name for the firewall rule.
The priority of this rule. Rules are evaluated in priority order, with lower numbers having higher priority. When a DNS query matches multiple rules, the rule with the highest priority (lowest number) is applied.
The ID of the DNS view to associate with this firewall rule.
The DNS query type to match for this rule. Examples include A (IPv4 address), AAAA (IPv6 address), MX (mail exchange), or TXT (text record).
Response
Success
The action that DNS Firewall takes on DNS queries that match this rule.
The DNS record type for the custom response when blockResponse is OVERRIDE.
The custom domain to return when the action is BLOCK and blockResponse is OVERRIDE.
The time-to-live (TTL) value for the custom response when blockResponse is OVERRIDE.
The response to return when the action is BLOCK.
The confidence threshold for advanced threat detection.
The date and time when the firewall rule was created.
The description of the firewall rule.
Whether advanced DNS threat protection is enabled for this rule.
The ID of the firewall domain list used in this rule.
The unique identifier for the firewall rule.
The name of the firewall rule.
The priority of the firewall rule.
The ID of the DNS view associated with this firewall rule.
The DNS query type that this rule matches.
The operational status of the firewall rule.
The date and time when the firewall rule was last updated.