wafv2_create_regex_pattern_set: Creates a RegexPatternSet, which you reference in a...

View source: R/wafv2_operations.R

wafv2_create_regex_pattern_setR Documentation

Creates a RegexPatternSet, which you reference in a RegexPatternSetReferenceStatement, to have WAF inspect a web request component for the specified patterns

Description

Creates a RegexPatternSet, which you reference in a RegexPatternSetReferenceStatement, to have WAF inspect a web request component for the specified patterns.

See https://www.paws-r-sdk.com/docs/wafv2_create_regex_pattern_set/ for full documentation.

Usage

wafv2_create_regex_pattern_set(
  Name,
  Scope,
  Description = NULL,
  RegularExpressionList,
  Tags = NULL
)

Arguments

Name

[required] The name of the set. You cannot change the name after you create the set.

Scope

[required] Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.

To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:

  • CLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.

  • API and SDKs - For all calls, use the Region endpoint us-east-1.

Description

A description of the set that helps with identification.

RegularExpressionList

[required] Array of regular expression strings.

Tags

An array of key:value pairs to associate with the resource.


paws.security.identity documentation built on Sept. 12, 2023, 1:10 a.m.