Skip to content
v2.274.0

CfnXssMatchSetPropsMixin Mixin ​

AWS WAF Classic support will end on September 30, 2025.

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 WAF V2 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.

Initializer ​

ts
new CfnXssMatchSetPropsMixin(props: CfnXssMatchSetMixinProps, options?: CfnPropertyMixinOptions)
python
CfnXssMatchSetPropsMixin(props: CfnXssMatchSetMixinProps, options: typing.Optional[CfnPropertyMixinOptions] = None)
java
new CfnXssMatchSetPropsMixin(CfnXssMatchSetMixinProps props, CfnPropertyMixinOptions options)
csharp
new CfnXssMatchSetPropsMixin(CfnXssMatchSetMixinProps props, CfnPropertyMixinOptions? options = null)
go
NewCfnXssMatchSetPropsMixin(Props CfnXssMatchSetMixinProps, Options CfnPropertyMixinOptions)

Methods ​

applyTo(construct: IConstruct): voiddef apply_to(self, construct: IConstruct) -> Nonepublic void applyTo(IConstruct construct)public void ApplyTo(IConstruct construct)func ApplyTo(Construct IConstruct)#
Apply the mixin properties to the construct.
isMixin(x: any): boolean@staticmethod def is_mixin(x: Any) -> boolpublic static Boolean isMixin(Object x)public static bool IsMixin(object x)func IsMixin(X interface{}) *boolstatic#
Checks if `x` is a Mixin.
1 parameter · returns

Parameters

  • xxxxX — Any object.

Returns: true if x is an object created from a class which extends Mixin.

supports(construct: IConstruct): booleandef supports(self, construct: IConstruct) -> boolpublic Boolean supports(IConstruct construct)public bool Supports(IConstruct construct)func Supports(Construct IConstruct) *bool#
Check if this mixin supports the given construct.