CfnSizeConstraintSetProps
- class aws_cdk.aws_wafregional.CfnSizeConstraintSetProps(*, name, size_constraints=None)
Bases:
objectProperties for defining a
CfnSizeConstraintSet.- Parameters:
name (
str) – The name, if any, of theSizeConstraintSet.size_constraints (
Union[IResolvable,Sequence[Union[IResolvable,SizeConstraintProperty,Dict[str,Any]]],None]) – The size constraint and the part of the web request to check.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_wafregional as wafregional cfn_size_constraint_set_props = wafregional.CfnSizeConstraintSetProps( name="name", # the properties below are optional size_constraints=[wafregional.CfnSizeConstraintSet.SizeConstraintProperty( comparison_operator="comparisonOperator", field_to_match=wafregional.CfnSizeConstraintSet.FieldToMatchProperty( type="type", # the properties below are optional data="data" ), size=123, text_transformation="textTransformation" )] )
Attributes
- name
The name, if any, of the
SizeConstraintSet.
- size_constraints
The size constraint and the part of the web request to check.