CfnSizeConstraintSetMixinProps

class aws_cdk.mixins_preview.aws_waf.mixins.CfnSizeConstraintSetMixinProps(*, name=None, size_constraints=None)

Bases: object

Properties for CfnSizeConstraintSetPropsMixin.

Parameters:
  • name (Optional[str]) – The name, if any, of the SizeConstraintSet .

  • 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-sizeconstraintset.html

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 .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-sizeconstraintset.html#cfn-waf-sizeconstraintset-name

size_constraints

The size constraint and the part of the web request to check.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-sizeconstraintset.html#cfn-waf-sizeconstraintset-sizeconstraints