Class: Aws::WAF::Types::RegexPatternSetUpdate

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-waf/types.rb

Overview

Note:

When making an API call, you may pass RegexPatternSetUpdate data as a hash:

{
  action: "INSERT", # required, accepts INSERT, DELETE
  regex_pattern_string: "RegexPatternString", # required
}

<note markdown=“1”> This is **AWS WAF Classic** documentation. For more information, see

AWS WAF Classic][1

in the developer guide.

**For the latest version of AWS WAF**, use the AWS WAFV2 API and see

the [AWS WAF Developer Guide]. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

</note>

In an UpdateRegexPatternSet request, `RegexPatternSetUpdate` specifies whether to insert or delete a `RegexPatternString` and includes the settings for the `RegexPatternString`.

[1]: docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html [2]: docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#actionString

Specifies whether to insert or delete a `RegexPatternString`.

Returns:

  • (String)

4814
4815
4816
4817
4818
4819
# File 'lib/aws-sdk-waf/types.rb', line 4814

class RegexPatternSetUpdate < Struct.new(
  :action,
  :regex_pattern_string)
  SENSITIVE = []
  include Aws::Structure
end

#regex_pattern_stringString

Specifies the regular expression (regex) pattern that you want AWS WAF to search for, such as `B[[email protected]]dBt`.

Returns:

  • (String)

4814
4815
4816
4817
4818
4819
# File 'lib/aws-sdk-waf/types.rb', line 4814

class RegexPatternSetUpdate < Struct.new(
  :action,
  :regex_pattern_string)
  SENSITIVE = []
  include Aws::Structure
end