Class CfnXssMatchSetPropsMixin
AWS WAF Classic support will end on September 30, 2025.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.WAF
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnXssMatchSetPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnXssMatchSetPropsMixin Inherits Mixin Implements IMixin
Remarks
This is <em>AWS WAF Classic</em> documentation. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS WAF Classic</a> 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.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-xssmatchset.html
CloudformationResource: AWS::WAF::XssMatchSet
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.WAF;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnXssMatchSetPropsMixin = new CfnXssMatchSetPropsMixin(new CfnXssMatchSetMixinProps {
Name = "name",
XssMatchTuples = new [] { new XssMatchTupleProperty {
FieldToMatch = new FieldToMatchProperty {
Data = "data",
Type = "type"
},
TextTransformation = "textTransformation"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Synopsis
Constructors
| CfnXssMatchSetPropsMixin(ICfnXssMatchSetMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | AWS WAF Classic support will end on September 30, 2025. |
| Props | AWS WAF Classic support will end on September 30, 2025. |
| Strategy | AWS WAF Classic support will end on September 30, 2025. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnXssMatchSetPropsMixin(ICfnXssMatchSetMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::WAF::XssMatchSet.
public CfnXssMatchSetPropsMixin(ICfnXssMatchSetMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnXssMatchSetMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
This is <em>AWS WAF Classic</em> documentation. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS WAF Classic</a> 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.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-xssmatchset.html
CloudformationResource: AWS::WAF::XssMatchSet
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
AWS WAF Classic support will end on September 30, 2025.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
This is <em>AWS WAF Classic</em> documentation. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS WAF Classic</a> 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.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-xssmatchset.html
CloudformationResource: AWS::WAF::XssMatchSet
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.WAF;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnXssMatchSetPropsMixin = new CfnXssMatchSetPropsMixin(new CfnXssMatchSetMixinProps {
Name = "name",
XssMatchTuples = new [] { new XssMatchTupleProperty {
FieldToMatch = new FieldToMatchProperty {
Data = "data",
Type = "type"
},
TextTransformation = "textTransformation"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Props
AWS WAF Classic support will end on September 30, 2025.
protected virtual ICfnXssMatchSetMixinProps Props { get; }
Property Value
Remarks
This is <em>AWS WAF Classic</em> documentation. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS WAF Classic</a> 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.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-xssmatchset.html
CloudformationResource: AWS::WAF::XssMatchSet
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.WAF;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnXssMatchSetPropsMixin = new CfnXssMatchSetPropsMixin(new CfnXssMatchSetMixinProps {
Name = "name",
XssMatchTuples = new [] { new XssMatchTupleProperty {
FieldToMatch = new FieldToMatchProperty {
Data = "data",
Type = "type"
},
TextTransformation = "textTransformation"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Strategy
AWS WAF Classic support will end on September 30, 2025.
protected virtual IMergeStrategy Strategy { get; }
Property Value
Remarks
This is <em>AWS WAF Classic</em> documentation. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS WAF Classic</a> 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.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-xssmatchset.html
CloudformationResource: AWS::WAF::XssMatchSet
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.WAF;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnXssMatchSetPropsMixin = new CfnXssMatchSetPropsMixin(new CfnXssMatchSetMixinProps {
Name = "name",
XssMatchTuples = new [] { new XssMatchTupleProperty {
FieldToMatch = new FieldToMatchProperty {
Data = "data",
Type = "type"
},
TextTransformation = "textTransformation"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override void ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Overrides
Remarks
This is <em>AWS WAF Classic</em> documentation. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS WAF Classic</a> 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.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-xssmatchset.html
CloudformationResource: AWS::WAF::XssMatchSet
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
This is <em>AWS WAF Classic</em> documentation. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS WAF Classic</a> 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.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-xssmatchset.html
CloudformationResource: AWS::WAF::XssMatchSet
Mixin: true
ExampleMetadata: fixture=_generated