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

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

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

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)


3758
3759
3760
3761
3762
# File 'gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb', line 3758

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)


3758
3759
3760
3761
3762
# File 'gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb', line 3758

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