Struct rusoto_waf_regional::SizeConstraintSetUpdate[][src]

pub struct SizeConstraintSetUpdate {
    pub action: String,
    pub size_constraint: SizeConstraint,
}

Specifies the part of a web request that you want to inspect the size of and indicates whether you want to add the specification to a SizeConstraintSet or delete it from a SizeConstraintSet.

Fields

Specify INSERT to add a SizeConstraintSetUpdate to a SizeConstraintSet. Use DELETE to remove a SizeConstraintSetUpdate from a SizeConstraintSet.

Specifies a constraint on the size of a part of the web request. AWS WAF uses the Size, ComparisonOperator, and FieldToMatch to build an expression in the form of "Size ComparisonOperator size in bytes of FieldToMatch". If that expression is true, the SizeConstraint is considered to match.

Trait Implementations

impl Default for SizeConstraintSetUpdate
[src]

Returns the "default value" for a type. Read more

impl Debug for SizeConstraintSetUpdate
[src]

Formats the value using the given formatter. Read more

impl Clone for SizeConstraintSetUpdate
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for SizeConstraintSetUpdate
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations