Class CfnSizeConstraintSetProps
Properties for defining a CfnSizeConstraintSet
.
Inheritance
System.Object
CfnSizeConstraintSetProps
Implements
Namespace: Amazon.CDK.AWS.WAF
Assembly: Amazon.CDK.AWS.WAF.dll
Syntax (csharp)
public class CfnSizeConstraintSetProps : Object, ICfnSizeConstraintSetProps
Syntax (vb)
Public Class CfnSizeConstraintSetProps
Inherits Object
Implements ICfnSizeConstraintSetProps
Remarks
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.AWS.WAF;
var cfnSizeConstraintSetProps = new CfnSizeConstraintSetProps {
Name = "name",
SizeConstraints = new [] { new SizeConstraintProperty {
ComparisonOperator = "comparisonOperator",
FieldToMatch = new FieldToMatchProperty {
Type = "type",
// the properties below are optional
Data = "data"
},
Size = 123,
TextTransformation = "textTransformation"
} }
};
Synopsis
Constructors
CfnSizeConstraintSetProps() |
Properties
Name | The name, if any, of the |
SizeConstraints | The size constraint and the part of the web request to check. |
Constructors
CfnSizeConstraintSetProps()
public CfnSizeConstraintSetProps()
Properties
Name
The name, if any, of the SizeConstraintSet
.
public string Name { get; set; }
Property Value
System.String
Remarks
SizeConstraints
The size constraint and the part of the web request to check.
public object SizeConstraints { get; set; }
Property Value
System.Object