Update Firewall Rule
route53resolver_update_firewall_rule | R Documentation |
Updates the specified firewall rule¶
Description¶
Updates the specified firewall rule.
Usage¶
route53resolver_update_firewall_rule(FirewallRuleGroupId,
FirewallDomainListId, FirewallThreatProtectionId, Priority, Action,
BlockResponse, BlockOverrideDomain, BlockOverrideDnsType,
BlockOverrideTtl, Name, FirewallDomainRedirectionAction, Qtype,
DnsThreatProtection, ConfidenceThreshold)
Arguments¶
FirewallRuleGroupId |
[required] The unique identifier of the firewall rule group for the rule. |
FirewallDomainListId |
The ID of the domain list to use in the rule. |
FirewallThreatProtectionId |
The DNS Firewall Advanced rule ID. |
Priority |
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. You must specify a unique priority for each rule in a rule group. To make it easier to insert rules later, leave space between the numbers, for example, use 100, 200, and so on. You can change the priority setting for the rules in a rule group at any time. |
Action |
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:
|
BlockResponse |
The way that you want DNS Firewall to block the request. Used for
the rule action setting
|
BlockOverrideDomain |
The custom DNS record to send back in response to the query. Used
for the rule action |
BlockOverrideDnsType |
The DNS record's type. This determines the format of the record
value that you provided in |
BlockOverrideTtl |
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 |
Name |
The name of the rule. |
FirewallDomainRedirectionAction |
How you want the the rule to evaluate DNS redirection in the DNS redirection chain, such as CNAME or DNAME.
|
Qtype |
The DNS query type you want the rule to evaluate. Allowed values are;
|
DnsThreatProtection |
The type of the DNS Firewall Advanced rule. Valid values are:
|
ConfidenceThreshold |
The confidence threshold for DNS Firewall Advanced. You must provide this value when you create a DNS Firewall Advanced rule. The confidence level values mean:
|
Value¶
A list with the following syntax:
list(
FirewallRule = list(
FirewallRuleGroupId = "string",
FirewallDomainListId = "string",
FirewallThreatProtectionId = "string",
Name = "string",
Priority = 123,
Action = "ALLOW"|"BLOCK"|"ALERT",
BlockResponse = "NODATA"|"NXDOMAIN"|"OVERRIDE",
BlockOverrideDomain = "string",
BlockOverrideDnsType = "CNAME",
BlockOverrideTtl = 123,
CreatorRequestId = "string",
CreationTime = "string",
ModificationTime = "string",
FirewallDomainRedirectionAction = "INSPECT_REDIRECTION_DOMAIN"|"TRUST_REDIRECTION_DOMAIN",
Qtype = "string",
DnsThreatProtection = "DGA"|"DNS_TUNNELING",
ConfidenceThreshold = "LOW"|"MEDIUM"|"HIGH"
)
)
Request syntax¶
svc$update_firewall_rule(
FirewallRuleGroupId = "string",
FirewallDomainListId = "string",
FirewallThreatProtectionId = "string",
Priority = 123,
Action = "ALLOW"|"BLOCK"|"ALERT",
BlockResponse = "NODATA"|"NXDOMAIN"|"OVERRIDE",
BlockOverrideDomain = "string",
BlockOverrideDnsType = "CNAME",
BlockOverrideTtl = 123,
Name = "string",
FirewallDomainRedirectionAction = "INSPECT_REDIRECTION_DOMAIN"|"TRUST_REDIRECTION_DOMAIN",
Qtype = "string",
DnsThreatProtection = "DGA"|"DNS_TUNNELING",
ConfidenceThreshold = "LOW"|"MEDIUM"|"HIGH"
)