Class CfnSizeConstraintSetPropsMixin
AWS WAF Classic support will end on September 30, 2025.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.WAFRegional.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnSizeConstraintSetPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnSizeConstraintSetPropsMixin 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 SizeConstraint objects, which specify the parts of web requests that you want AWS WAF to inspect the size of. If a SizeConstraintSet contains more than one SizeConstraint object, a request only needs to match one constraint to be considered a match.
CloudformationResource: AWS::WAFRegional::SizeConstraintSet
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.WAFRegional.Mixins;
var cfnSizeConstraintSetPropsMixin = new CfnSizeConstraintSetPropsMixin(new CfnSizeConstraintSetMixinProps {
Name = "name",
SizeConstraints = new [] { new SizeConstraintProperty {
ComparisonOperator = "comparisonOperator",
FieldToMatch = new FieldToMatchProperty {
Data = "data",
Type = "type"
},
Size = 123,
TextTransformation = "textTransformation"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Synopsis
Constructors
| CfnSizeConstraintSetPropsMixin(ICfnSizeConstraintSetMixinProps, 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
CfnSizeConstraintSetPropsMixin(ICfnSizeConstraintSetMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::WAFRegional::SizeConstraintSet.
public CfnSizeConstraintSetPropsMixin(ICfnSizeConstraintSetMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnSizeConstraintSetMixinProps
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 SizeConstraint objects, which specify the parts of web requests that you want AWS WAF to inspect the size of. If a SizeConstraintSet contains more than one SizeConstraint object, a request only needs to match one constraint to be considered a match.
CloudformationResource: AWS::WAFRegional::SizeConstraintSet
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 SizeConstraint objects, which specify the parts of web requests that you want AWS WAF to inspect the size of. If a SizeConstraintSet contains more than one SizeConstraint object, a request only needs to match one constraint to be considered a match.
CloudformationResource: AWS::WAFRegional::SizeConstraintSet
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.WAFRegional.Mixins;
var cfnSizeConstraintSetPropsMixin = new CfnSizeConstraintSetPropsMixin(new CfnSizeConstraintSetMixinProps {
Name = "name",
SizeConstraints = new [] { new SizeConstraintProperty {
ComparisonOperator = "comparisonOperator",
FieldToMatch = new FieldToMatchProperty {
Data = "data",
Type = "type"
},
Size = 123,
TextTransformation = "textTransformation"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Props
AWS WAF Classic support will end on September 30, 2025.
protected virtual ICfnSizeConstraintSetMixinProps Props { get; }
Property Value
ICfnSizeConstraintSetMixinProps
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 SizeConstraint objects, which specify the parts of web requests that you want AWS WAF to inspect the size of. If a SizeConstraintSet contains more than one SizeConstraint object, a request only needs to match one constraint to be considered a match.
CloudformationResource: AWS::WAFRegional::SizeConstraintSet
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.WAFRegional.Mixins;
var cfnSizeConstraintSetPropsMixin = new CfnSizeConstraintSetPropsMixin(new CfnSizeConstraintSetMixinProps {
Name = "name",
SizeConstraints = new [] { new SizeConstraintProperty {
ComparisonOperator = "comparisonOperator",
FieldToMatch = new FieldToMatchProperty {
Data = "data",
Type = "type"
},
Size = 123,
TextTransformation = "textTransformation"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Strategy
AWS WAF Classic support will end on September 30, 2025.
protected virtual PropertyMergeStrategy 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 SizeConstraint objects, which specify the parts of web requests that you want AWS WAF to inspect the size of. If a SizeConstraintSet contains more than one SizeConstraint object, a request only needs to match one constraint to be considered a match.
CloudformationResource: AWS::WAFRegional::SizeConstraintSet
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.WAFRegional.Mixins;
var cfnSizeConstraintSetPropsMixin = new CfnSizeConstraintSetPropsMixin(new CfnSizeConstraintSetMixinProps {
Name = "name",
SizeConstraints = new [] { new SizeConstraintProperty {
ComparisonOperator = "comparisonOperator",
FieldToMatch = new FieldToMatchProperty {
Data = "data",
Type = "type"
},
Size = 123,
TextTransformation = "textTransformation"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override IConstruct ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Returns
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 SizeConstraint objects, which specify the parts of web requests that you want AWS WAF to inspect the size of. If a SizeConstraintSet contains more than one SizeConstraint object, a request only needs to match one constraint to be considered a match.
CloudformationResource: AWS::WAFRegional::SizeConstraintSet
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 SizeConstraint objects, which specify the parts of web requests that you want AWS WAF to inspect the size of. If a SizeConstraintSet contains more than one SizeConstraint object, a request only needs to match one constraint to be considered a match.
CloudformationResource: AWS::WAFRegional::SizeConstraintSet
Mixin: true
ExampleMetadata: fixture=_generated