Class: Aws::WAF::Types::SizeConstraintSet

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-waf/types.rb

Overview

<note markdown=“1”> This is **AWS WAF Classic** documentation. For more information, see

AWS WAF Classic][1

in the developer guide.

**For the latest version of AWS WAF**, use the AWS WAFV2 API and see

the [AWS WAF Developer Guide]. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

</note>

A complex type that contains `SizeConstraint` objects, which specify the parts of web requests that you want AWS WAF to inspect the size of. If a `SizeConstraintSet` contains more than one `SizeConstraint` object, a request only needs to match one constraint to be considered a match.

[1]: docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html [2]: docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name, if any, of the `SizeConstraintSet`.

Returns:

  • (String)

5415
5416
5417
5418
5419
5420
5421
# File 'lib/aws-sdk-waf/types.rb', line 5415

class SizeConstraintSet < Struct.new(
  :size_constraint_set_id,
  :name,
  :size_constraints)
  SENSITIVE = []
  include Aws::Structure
end

#size_constraint_set_idString

A unique identifier for a `SizeConstraintSet`. You use `SizeConstraintSetId` to get information about a `SizeConstraintSet` (see GetSizeConstraintSet), update a `SizeConstraintSet` (see UpdateSizeConstraintSet), insert a `SizeConstraintSet` into a `Rule` or delete one from a `Rule` (see UpdateRule), and delete a `SizeConstraintSet` from AWS WAF (see DeleteSizeConstraintSet).

`SizeConstraintSetId` is returned by CreateSizeConstraintSet and by ListSizeConstraintSets.

Returns:

  • (String)

5415
5416
5417
5418
5419
5420
5421
# File 'lib/aws-sdk-waf/types.rb', line 5415

class SizeConstraintSet < Struct.new(
  :size_constraint_set_id,
  :name,
  :size_constraints)
  SENSITIVE = []
  include Aws::Structure
end

#size_constraintsArray<Types::SizeConstraint>

Specifies the parts of web requests that you want to inspect the size of.

Returns:


5415
5416
5417
5418
5419
5420
5421
# File 'lib/aws-sdk-waf/types.rb', line 5415

class SizeConstraintSet < Struct.new(
  :size_constraint_set_id,
  :name,
  :size_constraints)
  SENSITIVE = []
  include Aws::Structure
end