SizeConstraintStatement
public struct SizeConstraintStatement : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The operator to use to compare the request part to the size setting.
Declaration
Swift
public let comparisonOperator: ComparisonOperator
-
The part of a web request that you want AWS WAF to inspect. For more information, see FieldToMatch.
Declaration
Swift
public let fieldToMatch: FieldToMatch
-
The size, in byte, to compare to the request part, after any transformations.
Declaration
Swift
public let size: Int64
-
Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. If you specify one or more transformations in a rule statement, AWS WAF performs all transformations on the content of the request component identified by FieldToMatch, starting from the lowest priority setting, before inspecting the content for a match.
Declaration
Swift
public let textTransformations: [TextTransformation]
-
Undocumented
Declaration
Swift
public init(comparisonOperator: ComparisonOperator, fieldToMatch: FieldToMatch, size: Int64, textTransformations: [TextTransformation])
-
Declaration
Swift
public func validate(name: String) throws