Skip to main content

regex_pattern_set

Gets an individual regex_pattern_set resource

Overview

Nameregex_pattern_set
TypeResource
Descriptionregex_pattern_set
Idawscc.wafv2.regex_pattern_set

Fields

NameDatatypeDescription
arnstringARN of the WAF entity.
descriptionstringDescription of the entity.
namestringName of the RegexPatternSet.
idstringId of the RegexPatternSet
regular_expression_listarray
scopestringUse CLOUDFRONT for CloudFront RegexPatternSet, use REGIONAL for Application Load Balancer and API Gateway.
tagsarray
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
arn,
description,
name,
id,
regular_expression_list,
scope,
tags
FROM awscc.wafv2.regex_pattern_set
WHERE data__Identifier = '<Name>|<Id>|<Scope>';

Permissions

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

Delete

wafv2:DeleteRegexPatternSet,
wafv2:GetRegexPatternSet

Read

wafv2:GetRegexPatternSet,
wafv2:ListTagsForResource

Update

wafv2:UpdateRegexPatternSet,
wafv2:GetRegexPatternSet,
wafv2:ListTagsForResource