SizeConstraintSetSizeConstraintFieldToMatchArgs

data class SizeConstraintSetSizeConstraintFieldToMatchArgs(val data: Output<String>? = null, val type: Output<String>) : ConvertibleToJava<SizeConstraintSetSizeConstraintFieldToMatchArgs>

Constructors

constructor(data: Output<String>? = null, type: Output<String>)

Properties

Link copied to clipboard
val data: Output<String>? = null

When the type is HEADER, specify the name of the header that you want to search using the data field, for example, User-Agent or Referer. If the type is any other value, you can omit this field.

Link copied to clipboard
val type: Output<String>

Part of the web request that you want AWS WAF to search for a specified string. For example, HEADER, METHOD, or BODY. See the docs for all supported values.

Functions

Link copied to clipboard
open override fun toJava(): SizeConstraintSetSizeConstraintFieldToMatchArgs