firewall_rule_types
Creates, updates, deletes, gets or lists a firewall_rule_types resource.
Overview
| Name | firewall_rule_types |
| Type | Resource |
| Id | aws.route53resolver.firewall_rule_types |
Fields
The following fields are returned by SELECT queries:
- list_firewall_rule_types
| Name | Datatype | Description |
|---|---|---|
description | string | A description of the rule type. |
display_name | string | The display name of the rule type. |
rule_type | string | The category or class of the rule type, such as FirewallAdvancedContentCategory or FirewallAdvancedThreatCategory. |
subscription_info | object | For rule types that require an external subscription (today, only the PartnerThreatProtection variant), describes the AWS Marketplace product that backs the rule type. Absent for rule types that are managed by AWS and do not require a separate subscription. See SubscriptionInfo. |
value | string | The specific identifier within the rule type category, such as VIOLENCE_AND_HATE_SPEECH or PHISHING. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_firewall_rule_types | select | region | Retrieves the rule-type variants that can be used in the FirewallRuleType field of CreateFirewallRule and UpdateFirewallRule. Each returned FirewallRuleTypeDefinition identifies one variant + value combination — for example, FirewallAdvancedContentCategory + VIOLENCE_AND_HATE_SPEECH, or PartnerThreatProtection + a partner-managed feed. The supported RuleType filter values are FirewallAdvancedContentCategory, FirewallAdvancedThreatCategory, DnsThreatProtection, and PartnerThreatProtection. When a returned definition's variant requires an external subscription (currently only PartnerThreatProtection), the response also includes a SubscriptionInfo identifying the AWS Marketplace product that backs it; absence of SubscriptionInfo means the variant is fully managed by AWS and requires no separate subscription. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_firewall_rule_types
Retrieves the rule-type variants that can be used in the FirewallRuleType field of CreateFirewallRule and UpdateFirewallRule. Each returned FirewallRuleTypeDefinition identifies one variant + value combination — for example, FirewallAdvancedContentCategory + VIOLENCE_AND_HATE_SPEECH, or PartnerThreatProtection + a partner-managed feed. The supported RuleType filter values are FirewallAdvancedContentCategory, FirewallAdvancedThreatCategory, DnsThreatProtection, and PartnerThreatProtection. When a returned definition's variant requires an external subscription (currently only PartnerThreatProtection), the response also includes a SubscriptionInfo identifying the AWS Marketplace product that backs it; absence of SubscriptionInfo means the variant is fully managed by AWS and requires no separate subscription.
SELECT
description,
display_name,
rule_type,
subscription_info,
value
FROM aws.route53resolver.firewall_rule_types
WHERE region = '{{ region }}' -- required
;