waf_create_regex_pattern_set: Creates a RegexPatternSet

Description Usage Arguments Details Request syntax

View source: R/waf_operations.R

Description

Creates a RegexPatternSet. You then use UpdateRegexPatternSet to specify the regular expression (regex) pattern that you want AWS WAF to search for, such as B\[[email protected]\]dB\[o0\]t. You can then configure AWS WAF to reject those requests.

Usage

1
waf_create_regex_pattern_set(Name, ChangeToken)

Arguments

Name

[required] A friendly name or description of the RegexPatternSet. You can't change Name after you create a RegexPatternSet.

ChangeToken

[required] The value returned by the most recent call to GetChangeToken.

Details

To create and configure a RegexPatternSet, perform the following steps:

  1. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a CreateRegexPatternSet request.

  2. Submit a CreateRegexPatternSet request.

  3. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of an UpdateRegexPatternSet request.

  4. Submit an UpdateRegexPatternSet request to specify the string that you want AWS WAF to watch for.

For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide.

Request syntax

1
2
3
4
svc$create_regex_pattern_set(
  Name = "string",
  ChangeToken = "string"
)

paws.security.identity documentation built on Oct. 30, 2019, 11:26 a.m.