Skip to main content

rule_group

Gets an individual rule_group resource

Overview

Namerule_group
TypeResource
Descriptionrule_group
Idawscc.wafv2.rule_group

Fields

NameDatatypeDescription
arnstring
capacityinteger
descriptionstring
namestring
idstring
scopestring
rulesarrayCollection of Rules.
visibility_configobject
tagsarray
label_namespacestring
custom_response_bodiesobject
available_labelsarrayCollection of Available Labels.
consumed_labelsarrayCollection of Consumed Labels.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
arn,
capacity,
description,
name,
id,
scope,
rules,
visibility_config,
tags,
label_namespace,
custom_response_bodies,
available_labels,
consumed_labels
FROM awscc.wafv2.rule_group
WHERE data__Identifier = '<Name>|<Id>|<Scope>';

Permissions

To operate on the rule_group resource, the following permissions are required:

Delete

wafv2:DeleteRuleGroup,
wafv2:GetRuleGroup

Read

wafv2:GetRuleGroup,
wafv2:ListTagsForResource

Update

wafv2:UpdateRuleGroup,
wafv2:GetRuleGroup,
wafv2:ListTagsForResource