interface CfnSizeConstraintSetProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.WAF.CfnSizeConstraintSetProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awswaf#CfnSizeConstraintSetProps |
Java | software.amazon.awscdk.services.waf.CfnSizeConstraintSetProps |
Python | aws_cdk.aws_waf.CfnSizeConstraintSetProps |
TypeScript | aws-cdk-lib » aws_waf » CfnSizeConstraintSetProps |
Properties for defining a CfnSizeConstraintSet.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_waf as waf } from 'aws-cdk-lib';
const cfnSizeConstraintSetProps: waf.CfnSizeConstraintSetProps = {
name: 'name',
sizeConstraints: [{
comparisonOperator: 'comparisonOperator',
fieldToMatch: {
type: 'type',
// the properties below are optional
data: 'data',
},
size: 123,
textTransformation: 'textTransformation',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| name | string | The name, if any, of the SizeConstraintSet . |
| size | IResolvable | (IResolvable | Size)[] | The size constraint and the part of the web request to check. |
name
Type:
string
The name, if any, of the SizeConstraintSet .
sizeConstraints
Type:
IResolvable | (IResolvable | Size)[]
The size constraint and the part of the web request to check.

.NET
Go
Java
Python
TypeScript