ResolverFirewallRuleArgs class
The set of arguments for ResolverFirewallRule. The set of arguments for ResolverFirewallRule.
Constructors
-
ResolverFirewallRuleArgs({required Input<
String> action, Input<String?> ? blockOverrideDnsType, Input<String?> ? blockOverrideDomain, Input<int?> ? blockOverrideTtl, Input<String?> ? blockResponse, Input<String?> ? confidenceThreshold, Input<String?> ? dnsThreatProtection, Input<String?> ? firewallDomainListId, Input<String?> ? firewallDomainRedirectionAction, required Input<String> firewallRuleGroupId, Input<String?> ? name, required Input<int> priority, Input<String?> ? qType, Input<String?> ? region}) -
Creates a new ResolverFirewallRuleArgs.
actionThe 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. Valid values:ALLOW,BLOCK,ALERT. Note:ALLOWis not valid for DNS Firewall Advanced rules.blockOverrideDnsTypeThe DNS record's type. This determines the format of the record value that you provided in BlockOverrideDomain. Value values:CNAME.blockOverrideDomainThe custom DNS record to send back in response to the query.blockOverrideTtlThe recommended amount of time, in seconds, for the DNS resolver or web browser to cache the provided override record. Minimum value of 0. Maximum value of 604800.blockResponseThe way that you want DNS Firewall to block the request. Valid values:NODATA,NXDOMAIN,OVERRIDE.confidenceThresholdThe confidence threshold for DNS Firewall Advanced rules. You must provide this value when creating a DNS Firewall Advanced rule. Valid values:LOW,MEDIUM,HIGH. Conflicts withfirewallDomainListId.dnsThreatProtectionThe type of DNS Firewall Advanced rule. You must provide this value when creating a DNS Firewall Advanced rule. Valid values:DGA,DICTIONARY_DGA,DNS_TUNNELING. Conflicts withfirewallDomainListId.firewallDomainListIdThe ID of the domain list that you want to use in the rule. Required for standard rules. Conflicts withdnsThreatProtectionandconfidenceThreshold.firewallDomainRedirectionActionEvaluate DNS redirection in the DNS redirection chain, such as CNAME, DNAME, ot ALIAS. Valid values areINSPECT_REDIRECTION_DOMAINandTRUST_REDIRECTION_DOMAIN. Default value isINSPECT_REDIRECTION_DOMAIN.firewallRuleGroupIdThe unique identifier of the firewall rule group where you want to create the rule.nameA name that lets you identify the rule, to manage and use it.priorityThe 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.qTypeThe query type you want the rule to evaluate. Additional details can be found hereregionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.const -
ResolverFirewallRuleArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
action
→ Input<
String> -
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. Valid values:
ALLOW,BLOCK,ALERT. Note:ALLOWis not valid for DNS Firewall Advanced rules.final -
blockOverrideDnsType
→ Input<
String?> ? -
The DNS record's type. This determines the format of the record value that you provided in BlockOverrideDomain. Value values:
CNAME.final -
blockOverrideDomain
→ Input<
String?> ? -
The custom DNS record to send back in response to the query.
final
-
blockOverrideTtl
→ Input<
int?> ? -
The recommended amount of time, in seconds, for the DNS resolver or web browser to cache the provided override record. Minimum value of 0. Maximum value of 604800.
final
-
blockResponse
→ Input<
String?> ? -
The way that you want DNS Firewall to block the request. Valid values:
NODATA,NXDOMAIN,OVERRIDE.final -
confidenceThreshold
→ Input<
String?> ? -
The confidence threshold for DNS Firewall Advanced rules. You must provide this value when creating a DNS Firewall Advanced rule. Valid values:
LOW,MEDIUM,HIGH. Conflicts withfirewallDomainListId.final -
dnsThreatProtection
→ Input<
String?> ? -
The type of DNS Firewall Advanced rule. You must provide this value when creating a DNS Firewall Advanced rule. Valid values:
DGA,DICTIONARY_DGA,DNS_TUNNELING. Conflicts withfirewallDomainListId.final -
firewallDomainListId
→ Input<
String?> ? -
The ID of the domain list that you want to use in the rule. Required for standard rules. Conflicts with
dnsThreatProtectionandconfidenceThreshold.final -
firewallDomainRedirectionAction
→ Input<
String?> ? -
Evaluate DNS redirection in the DNS redirection chain, such as CNAME, DNAME, ot ALIAS. Valid values are
INSPECT_REDIRECTION_DOMAINandTRUST_REDIRECTION_DOMAIN. Default value isINSPECT_REDIRECTION_DOMAIN.final -
firewallRuleGroupId
→ Input<
String> -
The unique identifier of the firewall rule group where you want to create the rule.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
name
→ Input<
String?> ? -
A name that lets you identify the rule, to manage and use it.
final
-
priority
→ Input<
int> -
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.
final
-
qType
→ Input<
String?> ? -
The query type you want the rule to evaluate. Additional details can be found here
final
-
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited