You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::WAFRegional::Types::RegexPatternSetUpdate

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/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
}

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

Instance Attribute Summary collapse

Instance Attribute Details

#actionString

Specifies whether to insert or delete a RegexPatternString.

Returns:

  • (String)


3960
3961
3962
3963
3964
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 3960

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

#regex_pattern_stringString

Specifies the regular expression (regex) pattern that you want AWS WAF to search for, such as B[a@]dB[o0]t.

Returns:

  • (String)


3960
3961
3962
3963
3964
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 3960

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