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

Class: Aws::WAFRegional::Types::SqlInjectionMatchSetUpdate

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 SqlInjectionMatchSetUpdate data as a hash:

{
  action: "INSERT", # required, accepts INSERT, DELETE
  sql_injection_match_tuple: { # required
    field_to_match: { # required
      type: "URI", # required, accepts URI, QUERY_STRING, HEADER, METHOD, BODY
      data: "MatchFieldData",
    },
    text_transformation: "NONE", # required, accepts NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE
  },
}

Specifies the part of a web request that you want to inspect for snippets of malicious SQL code and indicates whether you want to add the specification to a SqlInjectionMatchSet or delete it from a SqlInjectionMatchSet.

Instance Attribute Summary collapse

Instance Attribute Details

#actionString

Specify INSERT to add a SqlInjectionMatchSetUpdate to a SqlInjectionMatchSet. Use DELETE to remove a SqlInjectionMatchSetUpdate from a SqlInjectionMatchSet.

Returns:

  • (String)


4068
4069
4070
4071
4072
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 4068

class SqlInjectionMatchSetUpdate < Struct.new(
  :action,
  :sql_injection_match_tuple)
  include Aws::Structure
end

#sql_injection_match_tupleTypes::SqlInjectionMatchTuple

Specifies the part of a web request that you want AWS WAF to inspect for snippets of malicious SQL code and, if you want AWS WAF to inspect a header, the name of the header.



4068
4069
4070
4071
4072
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 4068

class SqlInjectionMatchSetUpdate < Struct.new(
  :action,
  :sql_injection_match_tuple)
  include Aws::Structure
end