CfnSizeConstraintSetMixinProps
- class aws_cdk.mixins_preview.aws_wafregional.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_wafregional import mixins as wafregional_mixins cfn_size_constraint_set_mixin_props = wafregional_mixins.CfnSizeConstraintSetMixinProps( name="name", size_constraints=[wafregional_mixins.CfnSizeConstraintSetPropsMixin.SizeConstraintProperty( comparison_operator="comparisonOperator", field_to_match=wafregional_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.