Class: Aws::WAFRegional::Types::XssMatchSetUpdate
- Inherits:
-
Struct
- Object
- Struct
- Aws::WAFRegional::Types::XssMatchSetUpdate
- Defined in:
- gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb
Overview
When making an API call, you may pass XssMatchSetUpdate data as a hash:
{
action: "INSERT", # required, accepts INSERT, DELETE
xss_match_tuple: { # required
field_to_match: { # required
type: "URI", # required, accepts URI, QUERY_STRING, HEADER, METHOD, BODY, SINGLE_QUERY_ARG, ALL_QUERY_ARGS
data: "MatchFieldData",
},
text_transformation: "NONE", # required, accepts NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE
},
}
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.
Specifies the part of a web request that you want to inspect for
cross-site scripting attacks and indicates whether you want to add the
specification to an XssMatchSet or delete it from an XssMatchSet
.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#action ⇒ String
Specify
INSERT
to add an XssMatchSetUpdate to an XssMatchSet. -
#xss_match_tuple ⇒ Types::XssMatchTuple
Specifies the part of a web request that you want AWS WAF to inspect for cross-site scripting attacks and, if you want AWS WAF to inspect a header, the name of the header.
Instance Attribute Details
#action ⇒ String
Specify INSERT
to add an XssMatchSetUpdate to an XssMatchSet. Use
DELETE
to remove an XssMatchSetUpdate
from an XssMatchSet
.
7828 7829 7830 7831 7832 7833 |
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 7828 class XssMatchSetUpdate < Struct.new( :action, :xss_match_tuple) SENSITIVE = [] include Aws::Structure end |
#xss_match_tuple ⇒ Types::XssMatchTuple
Specifies the part of a web request that you want AWS WAF to inspect for cross-site scripting attacks and, if you want AWS WAF to inspect a header, the name of the header.
7828 7829 7830 7831 7832 7833 |
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 7828 class XssMatchSetUpdate < Struct.new( :action, :xss_match_tuple) SENSITIVE = [] include Aws::Structure end |