Class: Aws::Route53Resolver::Types::FirewallRuleType
- Inherits:
-
Struct
- Object
- Struct
- Aws::Route53Resolver::Types::FirewallRuleType
- Defined in:
- gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/types.rb
Overview
The rule-type configuration for a DNS Firewall rule.
FirewallRuleType is a tagged union — exactly one member must be set
per rule, and the member determines what the rule matches against.
This shape is mutually exclusive with the top-level
FirewallDomainListId and DnsThreatProtection fields on
CreateFirewallRule and UpdateFirewallRule.
Call ListFirewallRuleTypes to discover which rule-type variants and
which values within each variant are available in your account and
Region. It doesn't return the AutoAllowlist variant.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#auto_allowlist ⇒ Types::AutoAllowlistConfig
Configures the rule as an AutoAllowlist rule, which observes the DNS traffic of the VPCs that use the rule group, through a rule group association or a Route 53 Profile, so that you can review the domains and allow them.
-
#dns_threat_protection ⇒ Types::DnsThreatProtectionRuleTypeConfig
Configures the rule to match a built-in DNS Firewall Advanced threat detector —
DGA,DNS_TUNNELING, orDICTIONARY_DGA. -
#firewall_advanced_content_category ⇒ Types::FirewallAdvancedContentCategoryConfig
Configures the rule to match an Amazon Web Services-managed content category (for example,
VIOLENCE_AND_HATE_SPEECH). -
#firewall_advanced_threat_category ⇒ Types::FirewallAdvancedThreatCategoryConfig
Configures the rule to match an Amazon Web Services-managed advanced threat category (for example,
PHISHING). -
#partner_threat_protection ⇒ Types::PartnerThreatProtectionConfig
Configures the rule to match a third-party threat feed delivered through Amazon Web Services Marketplace.
Instance Attribute Details
#auto_allowlist ⇒ Types::AutoAllowlistConfig
Configures the rule as an AutoAllowlist rule, which observes the DNS traffic of the VPCs that use the rule group, through a rule group association or a Route 53 Profile, so that you can review the domains and allow them. See AutoAllowlistConfig.
2952 2953 2954 2955 2956 2957 2958 2959 2960 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/types.rb', line 2952 class FirewallRuleType < Struct.new( :partner_threat_protection, :firewall_advanced_content_category, :firewall_advanced_threat_category, :dns_threat_protection, :auto_allowlist) SENSITIVE = [] include Aws::Structure end |
#dns_threat_protection ⇒ Types::DnsThreatProtectionRuleTypeConfig
Configures the rule to match a built-in DNS Firewall Advanced threat
detector — DGA, DNS_TUNNELING, or DICTIONARY_DGA. See
DnsThreatProtectionRuleTypeConfig.
2952 2953 2954 2955 2956 2957 2958 2959 2960 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/types.rb', line 2952 class FirewallRuleType < Struct.new( :partner_threat_protection, :firewall_advanced_content_category, :firewall_advanced_threat_category, :dns_threat_protection, :auto_allowlist) SENSITIVE = [] include Aws::Structure end |
#firewall_advanced_content_category ⇒ Types::FirewallAdvancedContentCategoryConfig
Configures the rule to match an Amazon Web Services-managed content
category (for example, VIOLENCE_AND_HATE_SPEECH). See
FirewallAdvancedContentCategoryConfig.
2952 2953 2954 2955 2956 2957 2958 2959 2960 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/types.rb', line 2952 class FirewallRuleType < Struct.new( :partner_threat_protection, :firewall_advanced_content_category, :firewall_advanced_threat_category, :dns_threat_protection, :auto_allowlist) SENSITIVE = [] include Aws::Structure end |
#firewall_advanced_threat_category ⇒ Types::FirewallAdvancedThreatCategoryConfig
Configures the rule to match an Amazon Web Services-managed advanced
threat category (for example, PHISHING). See
FirewallAdvancedThreatCategoryConfig.
2952 2953 2954 2955 2956 2957 2958 2959 2960 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/types.rb', line 2952 class FirewallRuleType < Struct.new( :partner_threat_protection, :firewall_advanced_content_category, :firewall_advanced_threat_category, :dns_threat_protection, :auto_allowlist) SENSITIVE = [] include Aws::Structure end |
#partner_threat_protection ⇒ Types::PartnerThreatProtectionConfig
Configures the rule to match a third-party threat feed delivered
through Amazon Web Services Marketplace. The calling account must
hold an active subscription to the partner product named in
Partner; if the subscription is missing or revoked, the rule is
created with Status CREATION_FAILED and cannot be modified —
only deleted. See PartnerThreatProtectionConfig.
2952 2953 2954 2955 2956 2957 2958 2959 2960 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/types.rb', line 2952 class FirewallRuleType < Struct.new( :partner_threat_protection, :firewall_advanced_content_category, :firewall_advanced_threat_category, :dns_threat_protection, :auto_allowlist) SENSITIVE = [] include Aws::Structure end |