Skip to main content

rule_groups_list_only

Lists rule_groups in a region or regions, for all properties use rule_groups

Overview

Namerule_groups_list_only
TypeResource
DescriptionContains the Rules that identify the requests that you want to allow, block, or count. In a RuleGroup, you also specify a default action (ALLOW or BLOCK), and the action for each Rule that you add to a RuleGroup, for example, block requests from specified IP addresses or block requests from specified referrers. You also associate the RuleGroup with a CloudFront distribution to identify the requests that you want AWS WAF to filter. If you add more than one Rule to a RuleGroup, a request needs to match only one of the specifications to be allowed, blocked, or counted.
Idaws.wafv2.rule_groups_list_only

Fields

NameDatatypeDescription
arnstring
capacityinteger
descriptionstringDescription of the entity.
namestringName of the WebACL.
idstringId of the WebACL
scopestringUse CLOUDFRONT for CloudFront WebACL, use REGIONAL for Application Load Balancer and API Gateway.
rulesarrayCollection of Rules.
visibility_configobjectVisibility Metric of the WebACL.
tagsarray
label_namespacestringName of the Label.
custom_response_bodiesobjectCustom response key and body map.
available_labelsarrayCollection of Available Labels.
consumed_labelsarrayCollection of Consumed Labels.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all rule_groups in a region.

SELECT
region,
name,
id,
scope
FROM aws.wafv2.rule_groups_list_only
;

Permissions

For permissions required to operate on the rule_groups_list_only resource, see rule_groups