CfnSizeConstraintSetMixinProps
- class aws_cdk.mixins_preview.aws_waf.mixins.CfnSizeConstraintSetMixinProps(*, name=None, size_constraints=None)
Bases:
objectProperties for CfnSizeConstraintSetPropsMixin.
- Parameters:
name (
Optional[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.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_waf import mixins as waf_mixins cfn_size_constraint_set_mixin_props = waf_mixins.CfnSizeConstraintSetMixinProps( name="name", size_constraints=[waf_mixins.CfnSizeConstraintSetPropsMixin.SizeConstraintProperty( comparison_operator="comparisonOperator", field_to_match=waf_mixins.CfnSizeConstraintSetPropsMixin.FieldToMatchProperty( data="data", type="type" ), 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.