Struct aws_sdk_waf::types::XssMatchSet
source · #[non_exhaustive]pub struct XssMatchSet {
pub xss_match_set_id: Option<String>,
pub name: Option<String>,
pub xss_match_tuples: Option<Vec<XssMatchTuple>>,
}Expand description
This is AWS WAF Classic documentation. For more information, see AWS WAF Classic 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.
A complex type that contains XssMatchTuple objects, which specify the parts of web requests 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. If a XssMatchSet contains more than one XssMatchTuple object, a request needs to include cross-site scripting attacks in only one of the specified parts of the request to be considered a match.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.xss_match_set_id: Option<String>A unique identifier for an XssMatchSet. You use XssMatchSetId to get information about an XssMatchSet (see GetXssMatchSet), update an XssMatchSet (see UpdateXssMatchSet), insert an XssMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete an XssMatchSet from AWS WAF (see DeleteXssMatchSet).
XssMatchSetId is returned by CreateXssMatchSet and by ListXssMatchSets.
name: Option<String>The name, if any, of the XssMatchSet.
xss_match_tuples: Option<Vec<XssMatchTuple>>Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.
Implementations§
source§impl XssMatchSet
impl XssMatchSet
sourcepub fn xss_match_set_id(&self) -> Option<&str>
pub fn xss_match_set_id(&self) -> Option<&str>
A unique identifier for an XssMatchSet. You use XssMatchSetId to get information about an XssMatchSet (see GetXssMatchSet), update an XssMatchSet (see UpdateXssMatchSet), insert an XssMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete an XssMatchSet from AWS WAF (see DeleteXssMatchSet).
XssMatchSetId is returned by CreateXssMatchSet and by ListXssMatchSets.
sourcepub fn xss_match_tuples(&self) -> Option<&[XssMatchTuple]>
pub fn xss_match_tuples(&self) -> Option<&[XssMatchTuple]>
Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.
source§impl XssMatchSet
impl XssMatchSet
sourcepub fn builder() -> XssMatchSetBuilder
pub fn builder() -> XssMatchSetBuilder
Creates a new builder-style object to manufacture XssMatchSet.
Trait Implementations§
source§impl Clone for XssMatchSet
impl Clone for XssMatchSet
source§fn clone(&self) -> XssMatchSet
fn clone(&self) -> XssMatchSet
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for XssMatchSet
impl Debug for XssMatchSet
source§impl PartialEq<XssMatchSet> for XssMatchSet
impl PartialEq<XssMatchSet> for XssMatchSet
source§fn eq(&self, other: &XssMatchSet) -> bool
fn eq(&self, other: &XssMatchSet) -> bool
self and other values to be equal, and is used
by ==.